projects
/
open-ath9k-htc-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #164 from olerem/gcc-10
[open-ath9k-htc-firmware.git]
/
target_firmware
/
CMakeLists.txt
diff --git
a/target_firmware/CMakeLists.txt
b/target_firmware/CMakeLists.txt
index db31dc471eef82763e13f312999e501fb5bff6c9..73cb9301776203b1ae4ed7b00d6e3cbbb328e076 100644
(file)
--- a/
target_firmware/CMakeLists.txt
+++ b/
target_firmware/CMakeLists.txt
@@
-40,7
+40,17
@@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(ath9k_firmware NONE)
ENABLE_LANGUAGE(C)
PROJECT(ath9k_firmware NONE)
ENABLE_LANGUAGE(C)
-ADD_DEFINITIONS(-g -Os -Wunused-label -Wunused-variable -Wunused-value -Wpointer-arith -Wundef -nostdlib -Wundef)
+ADD_DEFINITIONS(
+ -g -Os
+ -Wunused-label
+ -Wunused-variable
+ -Wunused-value
+ -Wpointer-arith
+ -nostdlib
+ -Wundef
+ -Wunused-but-set-variable
+ -Wmaybe-uninitialized
+)
ADD_DEFINITIONS(
-D_RAM_
-DBIG_ENDIAN -D_BYTE_ORDER=_BIG_ENDIAN
ADD_DEFINITIONS(
-D_RAM_
-DBIG_ENDIAN -D_BYTE_ORDER=_BIG_ENDIAN