removed bogus "-Wl" parameter from linker invocation as gcc >= 4.7.0 chokes on it
This commit is contained in:
parent
17dc32acc6
commit
9e85e46214
|
@ -41,9 +41,9 @@ ifeq ($(OSTYPE),cygwin)
|
||||||
else
|
else
|
||||||
CFLAGS_SIM = -g -Wall -pedantic -std=c99 -O0 -D_XOPEN_SOURCE=600
|
CFLAGS_SIM = -g -Wall -pedantic -std=c99 -O0 -D_XOPEN_SOURCE=600
|
||||||
ifeq ($(MACHINE),x86_64)
|
ifeq ($(MACHINE),x86_64)
|
||||||
LDFLAGS_SIM = -g -Wl -T simulator/elf_x86_64.x
|
LDFLAGS_SIM = -g -T simulator/elf_x86_64.x
|
||||||
else
|
else
|
||||||
LDFLAGS_SIM = -Wl -T simulator/elf_i386.x
|
LDFLAGS_SIM = -T simulator/elf_i386.x
|
||||||
endif
|
endif
|
||||||
LIBS_SIM = -lglut -lpthread -lGL -lGLU -lm
|
LIBS_SIM = -lglut -lpthread -lGL -lGLU -lm
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue