From bedc2b9424e82860ac30834707b518f5f2a56751 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Mon, 29 Oct 2012 11:19:28 -0700 Subject: [PATCH] Makefile: use -rdyanmic only for linking I ignored this part of the GCC manpage: "Pass the flag -export-dynamic to the ELF linker..." --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ff5c7d9..523709f 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 -- 2.34.1