From 247a228b9cd5a760c171bcfb921115d4108e6431 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Mon, 14 Sep 2015 17:36:38 -0700 Subject: [PATCH] Update Makefile --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 40eabe5..e185826 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ CPPFLAGS_add = -I$(LIBOSXUNWIND_HOME)/src -I$(LIBOSXUNWIND_HOME)/include -DNDEBU CFLAGS_add = -std=c99 -Wall -O3 CXXFLAGS_add = -std=c++11 -Wall -O3 LDFLAGS_add = -nodefaultlibs -Wl,-upward-lSystem -Wl,-umbrella,System -lstdc++ +SFLAGS_add = -x assembler-with-cpp # Files (in src/) @@ -52,7 +53,7 @@ OBJS = $(patsubst %.c,%.c.o, \ $(CC) $(CPPFLAGS_add) $(CPPFLAGS) $(CXXFLAGS_add) $(CXXFLAGS) -c $< -o $@ %.s.o: %.s - $(CC) $(SFLAGS) $(filter -m% -B% -I% -D%,$(CFLAGS_add)) -c $< -o $@ + $(CC) $(SFLAGS) $(SFLAGS_add) $(filter -m% -B% -I% -D%,$(CFLAGS_add)) -c $< -o $@ libosxunwind.a: $(OBJS)