summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-08-28 21:08:45 -0400
committerLLLL Colonq <llll@colonq>2026-08-28 21:08:45 -0400
commit920b25ddf09cb4c51797b7414a661a369704a32b (patch)
tree7af8fe3689e97c87a3c09f027ea132c0efc0ecf9
parentdfe15a250a89a7ec46b65608f78d161d0cf4b183 (diff)
gastro: Add -fPIC
-rw-r--r--gastro/Makefile2
-rw-r--r--qoi/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/gastro/Makefile b/gastro/Makefile
index 3a99e10..eac4416 100644
--- a/gastro/Makefile
+++ b/gastro/Makefile
@@ -1,7 +1,7 @@
CC ?= gcc
AR ?= ar
override CPPFLAGS += -MMD -MP
-override CFLAGS += --std=c99 -g -Ideps/ -Isrc/ -Iinclude/ -Wall -Wextra -Wconversion -Wformat-security -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wnull-dereference -Wfloat-equal -Wundef -Wpointer-arith -Wbad-function-cast -Wlogical-op -Wmissing-braces -Wcast-align -Wstrict-overflow=5 -fwrapv
+override CFLAGS += --std=c99 -g -Ideps/ -Isrc/ -Iinclude/ -Wall -Wextra -Wconversion -Wformat-security -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wnull-dereference -Wfloat-equal -Wundef -Wpointer-arith -Wbad-function-cast -Wlogical-op -Wmissing-braces -Wcast-align -Wstrict-overflow=5 -fwrapv -fPIC
override LDFLAGS += -g -lraylib -lcolonq-qoi
BUILD = build_$(CC)
diff --git a/qoi/Makefile b/qoi/Makefile
index 0a75636..78e291a 100644
--- a/qoi/Makefile
+++ b/qoi/Makefile
@@ -1,7 +1,7 @@
CC ?= gcc
AR ?= ar
override CPPFLAGS += -MMD -MP
-override CFLAGS += --std=c99 -g -Ideps/ -Isrc/ -Iinclude/ -Wall -Wextra -Wpedantic -Wconversion -Wformat-security -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wnull-dereference -Wfloat-equal -Wundef -Wpointer-arith -Wbad-function-cast -Wlogical-op -Wmissing-braces -Wcast-align -Wstrict-overflow=5 -ftrapv
+override CFLAGS += --std=c99 -g -Ideps/ -Isrc/ -Iinclude/ -Wall -Wextra -Wpedantic -Wconversion -Wformat-security -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wnull-dereference -Wfloat-equal -Wundef -Wpointer-arith -Wbad-function-cast -Wlogical-op -Wmissing-braces -Wcast-align -Wstrict-overflow=5 -fwrapv -fPIC
override LDFLAGS += -g -lraylib
BUILD = build_$(CC)