1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Fix compilation of tests on Cygwin. Tested with GCC 4.9.2.

This commit is contained in:
Dominic Clifton 2015-05-29 19:51:01 +01:00
parent 36c8b482d1
commit c29900f012

View file

@ -26,6 +26,7 @@ OBJECT_DIR = ../../obj/test
COMMON_FLAGS = \ COMMON_FLAGS = \
-g \ -g \
-Wall \ -Wall \
-pthread \
-Wextra \ -Wextra \
-ggdb3 \ -ggdb3 \
-O0 \ -O0 \
@ -38,8 +39,7 @@ C_FLAGS = $(COMMON_FLAGS) \
# Flags passed to the C++ compiler. # Flags passed to the C++ compiler.
CXX_FLAGS = $(COMMON_FLAGS) \ CXX_FLAGS = $(COMMON_FLAGS) \
-lpthread -std=gnu++11
-std=c++11
# All tests produced by this Makefile. Remember to add new tests you # All tests produced by this Makefile. Remember to add new tests you
# created to the list. # created to the list.