Commit da05d7ce authored by Karl Wette's avatar Karl Wette
Browse files

Add -Wno-unknown-pragmas to CFLAGS when OpenMP is not enabled

- Partially reverts 57af6185fed9e27abb91c363071afbeaab3b4b42
- This is needed for when LALSuite is compiled with --disable-gcc-flags
Original: 721564877b6f5d1382e8176839f54c39d148ee13
parent 19cb6674
......@@ -413,6 +413,7 @@ AS_IF(
[test "x$OPENMP_CFLAGS" = "x"],
[
OPENMP_ENABLE_VAL="DISABLED"
LALSUITE_ADD_FLAGS([C],[-Wno-unknown-pragmas],[])
],
[
OPENMP_ENABLE_VAL="ENABLED"
......
......@@ -193,6 +193,7 @@ AS_IF(
[test "x$OPENMP_CFLAGS" = "x"],
[
OPENMP_ENABLE_VAL="DISABLED"
LALSUITE_ADD_FLAGS([C],[-Wno-unknown-pragmas],[])
],
[
OPENMP_ENABLE_VAL="ENABLED"
......
......@@ -198,6 +198,7 @@ AS_IF(
[test "x$OPENMP_CFLAGS" = "x"],
[
OPENMP_ENABLE_VAL="DISABLED"
LALSUITE_ADD_FLAGS([C],[-Wno-unknown-pragmas],[])
],
[
OPENMP_ENABLE_VAL="ENABLED"
......
......@@ -136,6 +136,7 @@ AS_IF(
[test "x$OPENMP_CFLAGS" = "x"],
[
OPENMP_ENABLE_VAL="DISABLED"
LALSUITE_ADD_FLAGS([C],[-Wno-unknown-pragmas],[])
],
[
OPENMP_ENABLE_VAL="ENABLED"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment