##// END OF EJS Templates
chg: define _GNU_SOURCE to allow CentOS 5 compilation...
Mathias De Maré -
r33666:5544af86 4.3 stable
parent child Browse files
Show More
@@ -5,7 +5,7 b' SRCS = chg.c hgclient.c procutil.c util.'
5 OBJS = $(SRCS:.c=.o)
5 OBJS = $(SRCS:.c=.o)
6
6
7 CFLAGS ?= -O2 -Wall -Wextra -pedantic -g
7 CFLAGS ?= -O2 -Wall -Wextra -pedantic -g
8 CPPFLAGS ?= -D_FORTIFY_SOURCE=2
8 CPPFLAGS ?= -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
9 override CFLAGS += -std=gnu99
9 override CFLAGS += -std=gnu99
10 ifdef HGPATH
10 ifdef HGPATH
11 override CPPFLAGS += -DHGPATH=\"$(HGPATH)\"
11 override CPPFLAGS += -DHGPATH=\"$(HGPATH)\"
General Comments 0
You need to be logged in to leave comments. Login now