Browse Source

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

feature/2015
Christian Kroll 12 years ago
parent
commit
9e85e46214
  1. 4
      defaults.mk

4
defaults.mk

@ -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…
Cancel
Save