projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8fb765
)
move --std=gnu99 to the main cflags
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 12 Oct 2011 14:16:58 +0000
(16:16 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 12 Oct 2011 14:16:58 +0000
(16:16 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index d20b4906ebb42cc330e2a60b6e8f087272ed0661..a57123e31c3402d2478b251b78f595975af35610 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-1,7
+1,7
@@
cmake_minimum_required(VERSION 2.6)
PROJECT(netifd C)
-ADD_DEFINITIONS(-Os -Wall -Werror)
+ADD_DEFINITIONS(-Os -Wall -Werror
--std=gnu99
)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
@@
-32,7
+32,7
@@
ELSE()
ENDIF()
IF(DEBUG)
- ADD_DEFINITIONS(-DDEBUG -
-std=gnu99 -
g3)
+ ADD_DEFINITIONS(-DDEBUG -g3)
ENDIF()