From 20be17c11145ac2243eb537c8478be20e4bceb54 Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 1 Sep 2022 14:08:13 +0200 Subject: tweak makefile --- Makefile | 2 +- bootstrap/bootstrap.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0080f5c..cc312c1 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3