We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2e143e9 + 98d1376 commit b6e3b72Copy full SHA for b6e3b72
1 file changed
toke/Makefile
@@ -41,7 +41,7 @@ LDFLAGS =
41
# CFLAGS := $(CFLAGS) -g
42
43
# for gcc 4. remove if you fixed the code.
44
-_GCC4_CFLAGS=$(shell echo 'main(int argc, char **argv){return 0;}' > .test.c; \
+_GCC4_CFLAGS=$(shell echo 'int main(int argc, char **argv){return 0;}' > .test.c; \
45
$(CC) -Wno-pointer-sign -c .test.c -o .test.o > /dev/null 2>&1 \
46
&& echo -Wno-pointer-sign; rm .test.c .test.o )
47
CFLAGS := $(CFLAGS) $(_GCC4_CFLAGS)
0 commit comments