diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-07-29 20:48:09 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-08-10 23:21:37 +1000 |
commit | ca49e64f0cb1368fc666a53b16b45d4505763d9c (patch) | |
tree | 69d88c44f096ed9b436b9f44c52bdb022654f00d /tools | |
parent | b9a4a0d02c5b8d9a1397c11d741d2a1a56381178 (diff) | |
download | linux-ca49e64f0cb1368fc666a53b16b45d4505763d9c.tar.gz linux-ca49e64f0cb1368fc666a53b16b45d4505763d9c.tar.bz2 linux-ca49e64f0cb1368fc666a53b16b45d4505763d9c.zip |
selftests/powerpc: Specify we expect to build with std=gnu99
We have some tests that assume we're using std=gnu99, which is fine on
most compilers, but some old compilers use a different default.
So make it explicit that we want to use std=gnu99.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/powerpc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/Makefile b/tools/testing/selftests/powerpc/Makefile index 3c40c9d0e6c7..1cc6d64c39b7 100644 --- a/tools/testing/selftests/powerpc/Makefile +++ b/tools/testing/selftests/powerpc/Makefile @@ -8,7 +8,7 @@ ifeq ($(ARCH),powerpc) GIT_VERSION = $(shell git describe --always --long --dirty || echo "unknown") -CFLAGS := -Wall -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(CURDIR) $(CFLAGS) +CFLAGS := -std=gnu99 -Wall -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(CURDIR) $(CFLAGS) export CFLAGS |