fix CC assignment in Makefiles of answers

This commit is contained in:
crdong 2015-10-23 21:49:11 +08:00
parent 9665b775be
commit 710d3eae4c
6 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2
GDB := $(GCCPREFIX)gdb GDB := $(GCCPREFIX)gdb
CC ?= $(GCCPREFIX)gcc CC := $(GCCPREFIX)gcc
CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS) CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS)
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector) CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
CTYPE := c S CTYPE := c S

View File

@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2
GDB := $(GCCPREFIX)gdb GDB := $(GCCPREFIX)gdb
CC ?= $(GCCPREFIX)gcc CC := $(GCCPREFIX)gcc
CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS) CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS)
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector) CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
CTYPE := c S CTYPE := c S

View File

@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2
GDB := $(GCCPREFIX)gdb GDB := $(GCCPREFIX)gdb
CC ?= $(GCCPREFIX)gcc CC := $(GCCPREFIX)gcc
CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS) CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS)
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector) CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
CTYPE := c S CTYPE := c S

View File

@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2
GDB := $(GCCPREFIX)gdb GDB := $(GCCPREFIX)gdb
CC ?= $(GCCPREFIX)gcc CC := $(GCCPREFIX)gcc
CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS) CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS)
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector) CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
CTYPE := c S CTYPE := c S

View File

@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2
GDB := $(GCCPREFIX)gdb GDB := $(GCCPREFIX)gdb
CC ?= $(GCCPREFIX)gcc CC := $(GCCPREFIX)gcc
CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS) CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS)
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector) CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
CTYPE := c S CTYPE := c S

View File

@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2 -D_FILE_OFFSET_BITS=64
GDB := $(GCCPREFIX)gdb GDB := $(GCCPREFIX)gdb
CC ?= $(GCCPREFIX)gcc CC := $(GCCPREFIX)gcc
CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS) CFLAGS := -fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc $(DEFS)
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector) CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
CTYPE := c S CTYPE := c S