diff options
| -rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ #!/bin/bash -cc=tcc -cflags=(-Wall -Wextra -O2) +cc=gcc +cflags=(-Wall -Wextra -std=c99 -O2) ldflags=(-lm) platform=gl @@ -32,7 +32,7 @@ fi [ ! -z "$debug" ] && cflags+=(-g -ggdb -rdynamic) -teensy_cflags=(${cflags[@]} -Iteensy -Iplatform/$platform) +teensy_cflags=(${cflags[@]} -fPIC -Iteensy -Iplatform/$platform) [ ! -z "$debug" ] && teensy_cflags+=(-DTEENSY_DEBUG) teensy_ldflags=(${ldflags[@]}) |
