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:
parent
36c8b482d1
commit
c29900f012
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue