This repository was archived by the owner on May 21, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44
44
# ##
45
45
# Common compiler options
46
46
COMMON_INCLUDES =-I${ProjSrcRoot}/lib -I${ProjSrcRoot}/include
47
- COMMON_CXXFLAGS=-std =c++11 -fno-exceptions -fPIC - funwind-tables $(COMMON_INCLUDES )
48
- COMMON_CFLAGS =-fPIC $(COMMON_INCLUDES )
47
+ COMMON_CXXFLAGS=-std =c++11 -fno-exceptions -funwind-tables $(COMMON_INCLUDES )
48
+ COMMON_CFLAGS =$(COMMON_INCLUDES )
49
49
COMMON_ASMFLAGS =$(COMMON_INCLUDES )
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ endif
136
136
override CC := $(subst -arch ,-arch_,$(CC ) )
137
137
override CC := $(patsubst -arch_% ,,$(CC ) )
138
138
139
- CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer
139
+ CFLAGS := -fPIC - Wall -Werror -O3 -fomit-frame-pointer
140
140
141
141
# Always set deployment target arguments for every build, these libraries should
142
142
# never depend on the environmental overrides. We simply set them to minimum
Original file line number Diff line number Diff line change 85
85
86
86
# ##
87
87
88
- CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer
88
+ CFLAGS := -fPIC - Wall -Werror -O3 -fomit-frame-pointer
89
89
SANITIZER_CFLAGS := -fPIE -fno-builtin -gline-tables-only
90
90
91
91
CFLAGS.full-i386 := $(CFLAGS ) -m32
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ ifneq (,$(SDKROOT))
29
29
DEPLOYMENT_FLAGS += -isysroot $(SDKROOT)
30
30
endif
31
31
32
- CFLAGS := -Wall -Os -fomit-frame-pointer -g $(DEPLOYMENT_FLAGS )
32
+ CFLAGS := -fPIC - Wall -Os -fomit-frame-pointer -g $(DEPLOYMENT_FLAGS )
33
33
CFLAGS.Static := $(CFLAGS ) -static
34
34
DYLIB_FLAGS := $(DEPLOYMENT_FLAGS ) \
35
35
-Xarch_arm -Wl,-alias_list,$(SRCROOT ) /lib/arm/softfloat-alias.list
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ UniversalArchs := i386 x86_64
39
39
40
40
CC := clang
41
41
42
- CFLAGS := -Wall -Werror
42
+ CFLAGS := -fPIC - Wall -Werror
43
43
CFLAGS.Debug := $(CFLAGS ) -g
44
44
CFLAGS.Release := $(CFLAGS ) -O3 -fomit-frame-pointer
45
45
CFLAGS.Profile := $(CFLAGS ) -pg -g
You can’t perform that action at this time.
0 commit comments