diff options
author | Pjotr Prins | 2018-10-09 07:25:04 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-10-09 07:25:04 +0000 |
commit | 93bdcb038b74b311d3a040f44606c25f5f9b20f9 (patch) | |
tree | fe13b9b57fa2aba49a4bd6f2cbbdcece3cc34a6b /Makefile | |
parent | 05d13dc9059636d9c4c8976bc469b6d1fc65d81a (diff) | |
download | pangemma-93bdcb038b74b311d3a040f44606c25f5f9b20f9.tar.gz |
clang++: disable Og switch for conda
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -144,7 +144,11 @@ ifeq ($(CXX), clang++) endif ifdef DEBUG - CPPFLAGS += -g -Og $(GCC_FLAGS) $(GSL_INCLUDE_PATH) -isystem$(EIGEN_INCLUDE_PATH) -Icontrib/catch-1.9.7 -Isrc $(RPATH) + ifneq ($(CXX), clang++) + # Clang does not like this switch + CPPFLAGS += -Og + endif + CPPFLAGS += -g $(GCC_FLAGS) $(GSL_INCLUDE_PATH) -isystem$(EIGEN_INCLUDE_PATH) -Icontrib/catch-1.9.7 -Isrc $(RPATH) else # release mode CPPFLAGS += -DNDEBUG -O3 $(GCC_FLAGS) $(GSL_INCLUDE_PATH) -isystem$(EIGEN_INCLUDE_PATH) -Icontrib/catch-1.9.7 -Isrc $(RPATH) |