aboutsummaryrefslogtreecommitdiff
path: root/tomo.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-05-27 17:45:22 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-05-27 17:45:22 -0400
commitc9889582a7f56b3bfdca455a8d84167f688cd3c8 (patch)
tree3c56168a946011690ef63d85bc4a0162b7bf5e3e /tomo.c
parentc35e5a84b954085983683d5c68e00ce4667b6812 (diff)
Fix up some import and -fPIC stuff
Diffstat (limited to 'tomo.c')
-rw-r--r--tomo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tomo.c b/tomo.c
index 0fcf0b78..0f623418 100644
--- a/tomo.c
+++ b/tomo.c
@@ -97,7 +97,7 @@ int main(int argc, char *argv[])
cflags = getenv("CFLAGS");
if (!cflags)
- cflags = heap_strf("%s %s -ggdb -I./include -D_DEFAULT_SOURCE", cconfig, optimization);
+ cflags = heap_strf("%s %s -fPIC -ggdb -I./include -D_DEFAULT_SOURCE", cconfig, optimization);
ldflags = "-Wl,-rpath '-Wl,$ORIGIN' -L/usr/local/lib -L.";