summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-07 05:25:46 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-07 05:25:46 +0100
commite61e7e0db9a7298ed846769323c7fd9472811c3f (patch)
tree20f822d0fc2f8cd1f6788a1809e4574632328033
parent2ce94b3cb4db55c981ee6f2cbe1d3e790e89a2b7 (diff)
some tests need to be compiled with -std=c99
-rw-r--r--test/nptl/Makefile.in9
-rw-r--r--test/tls/Makefile.in2
2 files changed, 11 insertions, 0 deletions
diff --git a/test/nptl/Makefile.in b/test/nptl/Makefile.in
index 341f909..a82eef1 100644
--- a/test/nptl/Makefile.in
+++ b/test/nptl/Makefile.in
@@ -120,6 +120,15 @@ CFLAGS_tst-initializers1-c89 = $(CFLAGS-tst-initializers1) -std=c89
CFLAGS_tst-initializers1-c99 = $(CFLAGS-tst-initializers1) -std=c99
CFLAGS_tst-initializers1-gnu89 = $(CFLAGS-tst-initializers1) -std=gnu89
CFLAGS_tst-initializers1-gnu99 = $(CFLAGS-tst-initializers1) -std=gnu99
+CFLAGS_tst-cpuclock1 += -std=c99
+CFLAGS_tst-cpuclock2 += -std=c99
+CFLAGS_tst-cputimer1 += -std=c99
+CFLAGS_tst-cputimer2 += -std=c99
+CFLAGS_tst-cputimer3 += -std=c99
+CFLAGS_tst-mqueue1 += -std=c99
+CFLAGS_tst-mqueue7 += -std=c99
+CFLAGS_tst-mqueue8 += -std=c99
+CFLAGS_tst-tsd6 += -std=c99
EXTRA_LDFLAGS = $(if $(findstring -lpthread,$(LDFLAGS_$@)),,-lpthread)
diff --git a/test/tls/Makefile.in b/test/tls/Makefile.in
index 10a515d..6a6a50e 100644
--- a/test/tls/Makefile.in
+++ b/test/tls/Makefile.in
@@ -38,6 +38,8 @@ CFLAGS_tst-tlsmod17b.so := -fPIC -DSHARED -shared
CFLAGS_tst-tlsmod18a.so := -fPIC -DSHARED -shared
CFLAGS_tst-tlsmod-at-ctor.so := -fPIC -DSHARED -shared
+CFLAGS_tst-tls18 += -std=c99
+
LDFLAGS_tst-tlsmod1.so := -shared -static-libgcc -L$(top_builddir)lib
LDFLAGS_tst-tlsmod2.so := -shared -static-libgcc -L$(top_builddir)lib
LDFLAGS_tst-tlsmod3.so := -shared -static-libgcc -L$(top_builddir)lib \