Skip to content

Commit a61074d

Browse files
authored
Merge pull request #153 from aj-bagwell/master
Don't discard externally set C_FLAGS
2 parents f52a85f + fdaa3e2 commit a61074d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if (NOT CMAKE_INSTALL_BINDIR)
2525
set(CMAKE_INSTALL_BINDIR bin)
2626
endif()
2727

28-
set(CMAKE_C_FLAGS "-Wall -Wextra --pedantic -Wno-strict-aliasing -Wno-variadic-macros")
28+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra --pedantic -Wno-strict-aliasing -Wno-variadic-macros")
2929
set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG")
3030
set(CMAKE_C_FLAGS_RELEASE "-O2")
3131

0 commit comments

Comments
 (0)