diff options
| author | 2022-09-01 14:08:13 +0200 | |
|---|---|---|
| committer | 2022-09-01 14:08:13 +0200 | |
| commit | 20be17c11145ac2243eb537c8478be20e4bceb54 (patch) | |
| tree | 2306a8fc58127e4789c560d39b69166987d1ba62 | |
| parent | 6ea6819e5a8b6e2b2c818249642e7923db9f81c8 (diff) | |
tweak makefile
| -rw-r--r-- | Makefile | 2 | ||||
| -rwxr-xr-x | bootstrap/bootstrap.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -39,7 +39,7 @@ build/%.o: %.cff @echo -e '\e[1mCFFC\e[0m' '\e[32m'"$<"'\e[0m' '->' '\e[34m'"$@"'\e[0m' $V$(CFFC) $< -o $@.ll $Vset -euo pipefail;\ - (opt -Oz -opaque-pointers $@.ll | llc --relocation-model=dynamic-no-pic -opaque-pointers | as - -o $@) || ($(RM) $@; false) + (opt -Oz -opaque-pointers $@.ll | llc --relocation-model=dynamic-no-pic -opaque-pointers --filetype=obj -o $@) || ($(RM) $@; false) install: $(OUT) install -m777 $(OUT) $(PREFIX) diff --git a/bootstrap/bootstrap.sh b/bootstrap/bootstrap.sh index 5669fd3..3242ffc 100755 --- a/bootstrap/bootstrap.sh +++ b/bootstrap/bootstrap.sh @@ -3,7 +3,7 @@ cd $(dirname "$0") if [ x"$CC" == x ]; then - export CC=cc + export CC=gcc fi if command -v ccache > /dev/null; then |