From: Brian Norris Date: Mon, 29 Oct 2012 18:19:28 +0000 (-0700) Subject: Makefile: use -rdyanmic only for linking X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=commitdiff_plain;h=bedc2b9424e82860ac30834707b518f5f2a56751 Makefile: use -rdyanmic only for linking I ignored this part of the GCC manpage: "Pass the flag -export-dynamic to the ELF linker..." --- diff --git a/Makefile b/Makefile index ff5c7d9d..523709f0 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ OBJECTS = libthreads.o schedule.o model.o threads.o librace.o action.o \ datarace.o impatomic.o cmodelint.o \ snapshot.o malloc.o mymemory.o common.o mutex.o promise.o conditionvariable.o -CPPFLAGS += -Iinclude -I. -rdynamic -LDFLAGS = -ldl -lrt +CPPFLAGS += -Iinclude -I. +LDFLAGS = -ldl -lrt -rdynamic SHARED = -shared # Mac OSX options