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 59d8d0981979f1d376f574d5c624442dde6b4b00 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 070ab35..c438589 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -396,8 +396,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 -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 " # -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])
|
|
--
|
|
2.10.2
|
|
|