From 2ffcdcc12c949dbc679a6b8645c0a88ab8f96a9f Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Wed, 8 Jul 2015 14:37:27 -0500 Subject: [PATCH] Create a separate directory for simulation compiliation. ld -m32 is actually -melf_i386. refs #80 --- share/trick/makefiles/Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/trick/makefiles/Makefile.common b/share/trick/makefiles/Makefile.common index 283426ab..dd73693a 100644 --- a/share/trick/makefiles/Makefile.common +++ b/share/trick/makefiles/Makefile.common @@ -102,7 +102,7 @@ ifeq ($(TRICK_FORCE_32BIT), 1) TRICK_CFLAGS += -m32 TRICK_CXXFLAGS += -m32 TRICK_LDFLAGS += -m32 - LD_PARTIAL += -m32 + LD_PARTIAL += -melf_i386 endif IS_CC_CLANG = $(shell ${TRICK_CPPC} -xc /dev/null -dM -E | grep -c __clang__)