Jordan Crouse wrote:
Index: libpayload/bin/lpgcc
--- libpayload/bin/lpgcc (revision 3473) +++ libpayload/bin/lpgcc (working copy) @@ -28,8 +28,7 @@
# GCC wrapper for libpayload
-DEFAULT_PREFIX=/opt -DEFAULT_CC=gcc +DEFAULT_CC=$CC
You should put a DEFAULT_CC ?= gcc after this line to account for CC being empty. Other then that, this looks good.
ok, done.
Next problem: How do I probe for -fno-stack-protector in the libpayload makefile?
should we use lpgcc internally?
It doesn't work as easy as specifying it with CC. Anyone got a simple idea?
Stefan