mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
25 lines
1.4 KiB
Plaintext
25 lines
1.4 KiB
Plaintext
From ed7add20356f3ef43c5dd47f3a99828972bec9b4 Mon Sep 17 00:00:00 2001
|
|
From: Jerome Duval <jerome.duval@gmail.com>
|
|
Date: Thu, 27 Nov 2014 17:02:30 +0000
|
|
Subject: remove unrecognized gcc flags
|
|
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 3d647ed..12b6110 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -359,8 +359,8 @@ fi
|
|
XIPH_GCC_VERSION
|
|
|
|
if test x$ac_cv_c_compiler_gnu = xyes ; then
|
|
- CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Wunreachable-code -Winline " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Wconversion
|
|
- CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef -Wunreachable-code " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Woverloaded-virtual -Wmissing-declarations
|
|
+ CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Winline " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Wconversion
|
|
+ CXXFLAGS="$CXXFLAGS -Wall -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Woverloaded-virtual -Wmissing-declarations
|
|
|
|
XIPH_ADD_CFLAGS([-Wdeclaration-after-statement])
|
|
XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2])
|
|
--
|
|
1.8.3.4
|
|
|