diff options
author | Jan-Erik Rediger <janerik@fnordig.de> | 2015-05-03 22:32:42 +0200 |
---|---|---|
committer | Jan-Erik Rediger <janerik@fnordig.de> | 2015-05-03 22:32:42 +0200 |
commit | 8999750f12ba61f7ec550c38c5eada235f6bc06b (patch) | |
tree | dba43072a69b205114f448c1876fd3998244d1fa | |
parent | d132d676e918355bb33e5ac8b346f678a7dce0e9 (diff) |
Revert "Always compile with C99 standard."
This reverts commit d8145d79ce715054980938c751067ebaa541573c.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,7 +39,7 @@ CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc') OPTIMIZATION?=-O3 WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings DEBUG?= -g -ggdb -REAL_CFLAGS=$(OPTIMIZATION) -fPIC -std=c99 -pedantic $(CFLAGS) $(WARNINGS) $(DEBUG) $(ARCH) +REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG) $(ARCH) REAL_LDFLAGS=$(LDFLAGS) $(ARCH) DYLIBSUFFIX=so @@ -133,7 +133,7 @@ check: hiredis-test kill `cat /tmp/hiredis-test-redis.pid` .c.o: - $(CC) -c $(REAL_CFLAGS) $< + $(CC) -std=c99 -pedantic -c $(REAL_CFLAGS) $< clean: rm -rf $(DYLIBNAME) $(STLIBNAME) $(TESTS) $(PKGCONFNAME) examples/hiredis-example* *.o *.gcda *.gcno *.gcov |