From 529d3cdead0d21086c4d6e2931d1b683d125e408 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Sun, 11 Dec 2011 19:58:12 +0000 Subject: use proper method to disable a flag Signed-off-by: Thorsten Glaser --- package/mksh/Makefile | 1 + package/mksh/patches/patch-Build_sh | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 package/mksh/patches/patch-Build_sh (limited to 'package') diff --git a/package/mksh/Makefile b/package/mksh/Makefile index a599d572f..786e08054 100644 --- a/package/mksh/Makefile +++ b/package/mksh/Makefile @@ -33,6 +33,7 @@ INSTALL_STYLE:= manual do-build: cd ${WRKBUILD} && CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}' \ CPPFLAGS='${TARGET_CPPFLAGS}' LDFLAGS='${TARGET_LDFLAGS}' \ + HAVE_CAN_FSTACKPROTECTORALL=0 \ TARGET_OS=Linux ${BASH} ${WRKSRC}/Build.sh -Q -r -combine do-install: diff --git a/package/mksh/patches/patch-Build_sh b/package/mksh/patches/patch-Build_sh deleted file mode 100644 index 3bd7547b7..000000000 --- a/package/mksh/patches/patch-Build_sh +++ /dev/null @@ -1,10 +0,0 @@ ---- mksh.orig/Build.sh 2011-04-14 19:46:02.037662289 +0200 -+++ mksh/Build.sh 2011-04-14 19:45:49.357672498 +0200 -@@ -816,7 +816,6 @@ if test $ct = gcc; then - # The following tests run with -Werror (gcc only) if possible - NOWARN=$DOWARN; phase=u - ac_flags 1 fnostrictaliasing -fno-strict-aliasing -- ac_flags 1 fstackprotectorall -fstack-protector-all - ac_flags 1 fwrapv -fwrapv - test $cm = combine && ac_flags 0 combine \ - '-fwhole-program --combine' \ -- cgit v1.2.3