aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xbootstrap/bootstrap.sh2
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