commit 0a85fbdac83140c24cfe317d92b6822df98c296e
parent 774853ef423f07126d959f0ab5a7f3d599f5a312
Author: sin <sin@2f30.org>
Date: Wed, 5 Mar 2014 14:13:22 +0000
No need to specify -static in CFLAGS
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
@@ -14,7 +14,7 @@ optldflags = -s -Wl,--gc-sections -Wl,-z,relro,-z,now
optcflags = -fdata-sections -ffunction-sections -Os -g0 -fno-unwind-tables -fno-asynchronous-unwind-tables -Wa,--noexecstack
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
-CFLAGS = -I${libcroot}/include -static ${CPPFLAGS} # ${optcflags}
+CFLAGS = -I${libcroot}/include ${CPPFLAGS} # ${optcflags}
LDFLAGS = -L${libcroot}/lib -static # ${optldflags}
PATH = ${root}/opt/cross/${arch}-linux-musl/bin:${PATH}