From 9e85e462147b1b0306493b2a3fab2575207c161c Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Mon, 22 Oct 2012 01:30:58 +0000 Subject: [PATCH] removed bogus "-Wl" parameter from linker invocation as gcc >= 4.7.0 chokes on it --- defaults.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.mk b/defaults.mk index 66c8cf3..a03a90f 100644 --- a/defaults.mk +++ b/defaults.mk @@ -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