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
c38e02d601
  1. 2
      defaults.mk

2
defaults.mk

@ -36,7 +36,7 @@ MACHINE = $(shell uname -m)
ifeq ($(OSTYPE),cygwin) ifeq ($(OSTYPE),cygwin)
CFLAGS_SIM = -g -Wall -pedantic -std=c99 -O0 -D_WIN32 -D_XOPEN_SOURCE=600 CFLAGS_SIM = -g -Wall -pedantic -std=c99 -O0 -D_WIN32 -D_XOPEN_SOURCE=600
LDFLAGS_SIM = -Wl -T simulator/i386pe.x LDFLAGS_SIM = -T simulator/i386pe.x
LIBS_SIM = -lgdi32 -lwinmm -lm LIBS_SIM = -lgdi32 -lwinmm -lm
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

Loading…
Cancel
Save