Skip to content

Commit

Permalink
don't ignore environmentally defined CFLAGS when present in the envir…
Browse files Browse the repository at this point in the history
…onment (contributed by Daniel P. Berrange)
  • Loading branch information
lloyd committed Mar 25, 2010
1 parent 870ab84 commit 00c0493
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Expand Up @@ -42,7 +42,8 @@ IF (NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "Release")
ENDIF (NOT CMAKE_BUILD_TYPE)

SET(CMAKE_C_FLAGS "-Wall")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")

IF (WIN32)
ADD_DEFINITIONS(-DWIN32)
SET(linkFlags "/PDB:NONE /INCREMENTAL:NO /OPT:NOREF /OPT:NOICF")
Expand Down

0 comments on commit 00c0493

Please sign in to comment.