Skip to content

Commit

Permalink
e9compile: fix vars
Browse files Browse the repository at this point in the history
  • Loading branch information
milahu committed Feb 6, 2024
1 parent 473d978 commit 09e0c7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e9compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ case "$1" in
;;
*)
echo >&2
echo "${RED}error${OFF}: file $1 must have a .c/.cpp/.s extension" >&2
echo "${RED}error${OFF}: file ${1@Q} must have a .c/.cpp/.s extension" >&2
echo >&2
exit 1
;;
Expand All @@ -68,7 +68,7 @@ CFLAGS=(
-mstringop-strategy=loop -fno-tree-vectorize -fomit-frame-pointer
-I examples/
)
COMPILE=("$CC" "${CFLAGS[@]}" -c -Wall "$@" "$DIRNAME/$BASENAME.$EXTENSION")
COMPILE=("$CC" "${CFLAGS[@]}" -c -Wall "$@" "$1")

echo "${COMPILE[@]}"
if ! "${COMPILE[@]}"
Expand Down

0 comments on commit 09e0c7e

Please sign in to comment.