blob: 5e5fb425fe37233650699079de58bdc8580ece68 [file] [log] [blame]
#!/bin/sh -e
#export CC="i686-gcc"
export CC="x86_64-gcc"
export CFLAGS="-Os\
-fomit-frame-pointer\
-static\
-static-libgcc\
-ffunction-sections -fdata-sections\
-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1\
-fno-unwind-tables\
-fno-asynchronous-unwind-tables\
-Wl,--gc-sections\
-Wl,-Map=strace.mapfile\
"
autoreconf -i -f
./configure #--enable-maintainer-mode
make CC="$CC" CFLAGS="$CFLAGS"