From c38e02d601e786fadbc6a58571b8680412070979 Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Mon, 22 Oct 2012 01:55:06 +0000 Subject: [PATCH] removed bogus "-Wl" parameter from linker invocation as gcc >= 4.7.0 chokes on it --- defaults.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults.mk b/defaults.mk index a03a90f..8dd4abd 100644 --- a/defaults.mk +++ b/defaults.mk @@ -36,7 +36,7 @@ MACHINE = $(shell uname -m) ifeq ($(OSTYPE),cygwin) 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 else CFLAGS_SIM = -g -Wall -pedantic -std=c99 -O0 -D_XOPEN_SOURCE=600