mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +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 = \
|
||||
-g \
|
||||
-Wall \
|
||||
-pthread \
|
||||
-Wextra \
|
||||
-ggdb3 \
|
||||
-O0 \
|
||||
|
@ -38,8 +39,7 @@ C_FLAGS = $(COMMON_FLAGS) \
|
|||
|
||||
# Flags passed to the C++ compiler.
|
||||
CXX_FLAGS = $(COMMON_FLAGS) \
|
||||
-lpthread
|
||||
-std=c++11
|
||||
-std=gnu++11
|
||||
|
||||
# All tests produced by this Makefile. Remember to add new tests you
|
||||
# created to the list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue