diff --git a/pkgs/development/libraries/accelio/cflags.patch b/pkgs/development/libraries/accelio/cflags.patch index f13eb3783af0..a09045191226 100644 --- a/pkgs/development/libraries/accelio/cflags.patch +++ b/pkgs/development/libraries/accelio/cflags.patch @@ -1,13 +1,19 @@ diff --git a/configure.ac b/configure.ac -index 6ce6b6b..180bad2 100644 +index 6ce6b6b..72d2e65 100644 --- a/configure.ac +++ b/configure.ac -@@ -115,9 +115,7 @@ if test "$enable_debug" = "yes"; then - -fno-omit-frame-pointer -O0 -D_REENTRANT -D_GNU_SOURCE" +@@ -110,14 +110,10 @@ AC_MSG_RESULT([$enable_debug]) + + if test "$enable_debug" = "yes"; then + AC_DEFINE([DEBUG],[],[Debug Mode]) +- AM_CFLAGS="$AM_CFLAGS -g -ggdb -Wall -Werror -Wdeclaration-after-statement \ +- -Wsign-compare -Wc++-compat \ +- -fno-omit-frame-pointer -O0 -D_REENTRANT -D_GNU_SOURCE" ++ AM_CFLAGS="$AM_CFLAGS -g -ggdb -fno-omit-frame-pointer -O0 -D_REENTRANT -D_GNU_SOURCE" else AC_DEFINE([NDEBUG],[],[No-debug Mode]) - AM_CFLAGS="$AM_CFLAGS -g -ggdb -Wall -Werror -Wpadded -Wdeclaration-after-statement \ -- -Wsign-compare -Wc++-compat \ +- -Wsign-compare -Wc++-compat \ - -O3 -D_REENTRANT -D_GNU_SOURCE" + AM_CFLAGS="$AM_CFLAGS -O3 -D_REENTRANT -D_GNU_SOURCE" fi