From 4a6897b2a493831542a5cc972590a64b49082183 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Jan 25 2013 14:02:11 +0000 Subject: make sure main.c uses our cflags too --- diff --git a/ksh.spec b/ksh.spec index eb16b7a..277bcd9 100644 --- a/ksh.spec +++ b/ksh.spec @@ -47,6 +47,9 @@ with "sh" (the Bourne Shell). #/dev/fd test does not work because of mock sed -i 's|ls /dev/fd|ls /proc/self/fd|' src/cmd/ksh93/features/options +# sh/main.c was not using CCFLAGS +sed -i '/-c sh\/main.c/s|${mam_cc_FLAGS} |${mam_cc_FLAGS} ${CCFLAGS} |p' src/cmd/ksh93/Mamfile + %build ./bin/package ./bin/package make mamake ||: