Converted getopt use to px4_getopt

In the posix and qurt builds, getopt is not thread safe so px4_getopt
should be used instead.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-06-19 11:39:08 -07:00
parent 878284701d
commit f7fe6a037d
5 changed files with 86 additions and 62 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ ifeq ($(CONFIG_BOARD),)
$(error Board config does not define CONFIG_BOARD)
endif
ARCHDEFINES += -DCONFIG_ARCH_BOARD_$(CONFIG_BOARD) \
-Dnoreturn_function= \
-Dnoreturn_function=__attribute__\(\(noreturn\)\) \
-I$(PX4_BASE)/src/modules/systemlib \
-I$(PX4_BASE)/src/lib/eigen \
-I$(PX4_BASE)/src/platforms/posix/include \