removed bogus "-Wl" parameter from linker invocation as gcc >= 4.7.0 chokes on it

This commit is contained in:
Christian Kroll 2012-10-22 01:30:58 +00:00
parent 17dc32acc6
commit 9e85e46214
1 changed files with 2 additions and 2 deletions

View File

@ -41,9 +41,9 @@ ifeq ($(OSTYPE),cygwin)
else
CFLAGS_SIM = -g -Wall -pedantic -std=c99 -O0 -D_XOPEN_SOURCE=600
ifeq ($(MACHINE),x86_64)
LDFLAGS_SIM = -g -Wl -T simulator/elf_x86_64.x
LDFLAGS_SIM = -g -T simulator/elf_x86_64.x
else
LDFLAGS_SIM = -Wl -T simulator/elf_i386.x
LDFLAGS_SIM = -T simulator/elf_i386.x
endif
LIBS_SIM = -lglut -lpthread -lGL -lGLU -lm
endif