diff options
Diffstat (limited to 'sys-devel/gsl/files/gsl-4.1.5-respect-flags.patch')
-rw-r--r-- | sys-devel/gsl/files/gsl-4.1.5-respect-flags.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-devel/gsl/files/gsl-4.1.5-respect-flags.patch b/sys-devel/gsl/files/gsl-4.1.5-respect-flags.patch new file mode 100644 index 0000000000..9d8ebb5f06 --- /dev/null +++ b/sys-devel/gsl/files/gsl-4.1.5-respect-flags.patch @@ -0,0 +1,13 @@ +--- a/src/c ++++ b/src/c +@@ -156,8 +156,8 @@ + # + case "$($CCNAME --version)" in + *gcc*|*GCC*) +- [ -z "$BOOM_MODEL_NOOPT" ] && CCDEBUG="-O2" +- [ -z "$BOOM_MODEL_NOOPT" ] && CCNODEBUG="$CCNODEBUG -O2" ++ [ -z "$BOOM_MODEL_NOOPT" ] && CCDEBUG="${CFLAGS}" ++ [ -z "$BOOM_MODEL_NOOPT" ] && CCNODEBUG="$CCNODEBUG ${CFLAGS}" + CCOPTS="-D_REENTRANT -D_GNU_SOURCE -Wall -Wno-unused -fno-strict-aliasing" + # We assume the following standard libraries are all present. + # If your build is failing because of missing libraries then |