equal
deleted
inserted
replaced
271 |
271 |
272 # GNU make can only test for (in)equality |
272 # GNU make can only test for (in)equality |
273 # this is a workaround to test for >= |
273 # this is a workaround to test for >= |
274 ifeq ($(shell if test $(CC_VERSION) -ge 29; then echo true; fi), true) |
274 ifeq ($(shell if test $(CC_VERSION) -ge 29; then echo true; fi), true) |
275 CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes |
275 CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes |
276 CFLAGS += -Wwrite-strings |
276 CFLAGS += -Wwrite-strings -Wpointer-arith |
277 endif |
277 endif |
278 ifeq ($(shell if test $(CC_VERSION) -ge 30; then echo true; fi), true) |
278 ifeq ($(shell if test $(CC_VERSION) -ge 30; then echo true; fi), true) |
279 CFLAGS += -W -Wno-unused-parameter |
279 CFLAGS += -W -Wno-unused-parameter |
280 endif |
280 endif |
281 ifeq ($(shell if test $(CC_VERSION) -ge 34; then echo true; fi), true) |
281 ifeq ($(shell if test $(CC_VERSION) -ge 34; then echo true; fi), true) |