diff options
| author | 2020-08-02 13:52:21 -0500 | |
|---|---|---|
| committer | 2020-08-03 17:32:41 -0500 | |
| commit | 3563e7e1aaa8489c4445b672158128e1e8a184ae (patch) | |
| tree | 7655e2743bc2b576b9f8cb9e143896e17645f050 /Makefile | |
| parent | Add index-of to core library. (diff) | |
Add -fPIC to default cflags when building boot image.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,10 +41,10 @@ SONAME_SETTER=-Wl,-soname, # For cross compilation HOSTCC?=$(CC) HOSTAR?=$(AR) -CFLAGS?=-fPIC -O2 +CFLAGS?=-O2 LDFLAGS?=-rdynamic -COMMON_CFLAGS:=-std=c99 -Wall -Wextra -Isrc/include -Isrc/conf -fvisibility=hidden +COMMON_CFLAGS:=-std=c99 -Wall -Wextra -Isrc/include -Isrc/conf -fvisibility=hidden -fPIC BOOT_CFLAGS:=-DJANET_BOOTSTRAP -DJANET_BUILD=$(JANET_BUILD) -O0 -g $(COMMON_CFLAGS) BUILD_CFLAGS:=$(CFLAGS) $(COMMON_CFLAGS) |
