Remove size optimization for individual modules

It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
This commit is contained in:
Julian Oes
2016-09-30 08:11:51 +02:00
committed by Beat Küng
parent aa6d9e363f
commit 8ff237c69f
145 changed files with 154 additions and 283 deletions
+1 -2
View File
@@ -36,7 +36,6 @@ px4_add_module(
STACK_MAIN 1200
STACK_MAX 1500
COMPILE_FLAGS
-Os
SRCS
mavlink.c
mavlink_main.cpp
@@ -53,4 +52,4 @@ px4_add_module(
DEPENDS
platforms__common
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
@@ -36,7 +36,6 @@ px4_add_module(
STACK_MAIN 5000
COMPILE_FLAGS
-DMAVLINK_FTP_UNIT_TEST
-Os
SRCS
mavlink_tests.cpp
mavlink_ftp_test.cpp
@@ -46,4 +45,4 @@ px4_add_module(
DEPENDS
platforms__common
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
# vim: set noet ft=cmake fenc=utf-8 ff=unix :