diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-29 09:56:55 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-29 10:06:29 +0200 |
commit | a99d95e3afc528829f657e37f0572ac78bf06d4b (patch) | |
tree | b11dc0ca5c9fe104120d1446427b6618188c3151 /tests/Makefile.am | |
parent | e500e2e5d1d44f31e0fffeda9a1e272e8fb0320c (diff) |
llc/test: Explicitly enable extended initialiser lists
To support extended initialiser lists some platforms (at least debian
squeeze) require to add -std=c++0x or -std=gnu++0x to CXXFLAGS. While
that option is deprecated on newer platforms (at least gcc 4.8) this
options is still supported on every platform currently in use.
This commit adds -std=gnu++0x to the CXXFLAGS used to compile
LlcTest.cpp.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 5d7aab01..861552f1 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -66,6 +66,10 @@ llc_LlcTest_LDADD = \ llc_LlcTest_LDFLAGS = \ -Wl,-u,bssgp_prim_cb +# Compatibility with Debian Squeeze +llc_LlcTest_CXXFLAGS = \ + -std=gnu++0x + llist_LListTest_SOURCES = llist/LListTest.cpp llist_LListTest_LDADD = \ $(LIBOSMOCORE_LIBS) \ |