add -fPIC to CFLAGS
This commit is contained in:
parent
80a8069106
commit
b74186b130
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@
|
|||
|
||||
CC = clang
|
||||
CFLAGS = -std=c11 -Wall -Wextra -Wpedantic
|
||||
CFLAGS += -fstrict-aliasing
|
||||
CFLAGS += -fPIC -fstrict-aliasing
|
||||
CFLAGS += $(shell pkg-config --cflags glfw3 vulkan)
|
||||
LDFLAGS = $(shell pkg-config --libs glfw3 vulkan)
|
||||
|
||||
|
|
Loading…
Reference in a new issue