Merge pull request #9461 from ps790/patch-2

softethervpn: Pass FLAGS to CC for hamcorebuilder
This commit is contained in:
Rosen Penev
2019-07-16 13:09:19 -07:00
committed by GitHub
+2 -1
View File
@@ -58,7 +58,8 @@ define Host/Compile
# Build hamcorebuilder using host compiler and let it generate # Build hamcorebuilder using host compiler and let it generate
# the hamcore.se2 archive file # the hamcore.se2 archive file
CC="$(HOSTCC)" $(MAKE) $(HOST_MAKE_FLAGS) \ # CFLAGS, CPPFLAGS & LDFLAGS need to be passed with CC because they are being ingored
CC="$(HOSTCC) $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(HOST_LDFLAGS)" $(MAKE) $(HOST_MAKE_FLAGS) \
src/bin/BuiltHamcoreFiles/unix/hamcore.se2 src/bin/BuiltHamcoreFiles/unix/hamcore.se2
endef endef