pkg-rebar.mk: pass C++ compiler path and options
authorFrank Hunleth <fhunleth@troodon-software.com>
Tue, 2 Feb 2016 19:57:28 +0000 (14:57 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 20 Feb 2016 15:55:25 +0000 (16:55 +0100)
commit6be72cd8ca093c53f17d1a5b982daf2cca800b11
treef39724b063a305ebcbe3a64a7d82966a1bd2a670
parentb640c257ea96cf6a81b804c902f11dbeb4ff6836
pkg-rebar.mk: pass C++ compiler path and options

Previously only the C compiler path and options were passed to rebar.
Erlang projects that used the C++ compiler would fail to build, which
would for example be the case with the latest version of
erlang-p1-stringprep. This fixes those errors.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas: adjust commit message to indicate an example of an Erlang
package that needs the C++ compiler.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-rebar.mk