Skip to content

Commit 5f101e1

Browse files
committed
Move COMPILER_FLAGS after the hardcoded flags
1 parent 1f75cbb commit 5f101e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/coreapp/compilers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ def available_platforms() -> List[Platform]:
938938
platform=N64,
939939
cc=(
940940
PYTHON_SHLEX
941-
+ 'COMPILER_PATH="${COMPILER_DIR}" "${COMPILER_DIR}/mips-linux-gcc" "${FLAGS[@]}" -c -G 0 -fno-PIC -mgp32 -mfp32 -mcpu=4300 -nostdinc "${INPUT}" -o "${OUTPUT}"'
941+
+ 'COMPILER_PATH="${COMPILER_DIR}" "${COMPILER_DIR}/mips-linux-gcc" -c -G 0 -fno-PIC -mgp32 -mfp32 -mcpu=4300 -nostdinc "${FLAGS[@]}" "${INPUT}" -o "${OUTPUT}"'
942942
),
943943
)
944944

@@ -947,7 +947,7 @@ def available_platforms() -> List[Platform]:
947947
platform=N64,
948948
cc=(
949949
PYTHON_SHLEX
950-
+ 'COMPILER_PATH="${COMPILER_DIR}" "${COMPILER_DIR}/gcc" "${FLAGS[@]}" -c -G 0 -fno-PIC -mgp32 -mfp32 -mcpu=4300 -nostdinc "${INPUT}" -o "${OUTPUT}"'
950+
+ 'COMPILER_PATH="${COMPILER_DIR}" "${COMPILER_DIR}/gcc" -c -G 0 -fno-PIC -mgp32 -mfp32 -mcpu=4300 -nostdinc "${FLAGS[@]}" "${INPUT}" -o "${OUTPUT}"'
951951
),
952952
)
953953

0 commit comments

Comments
 (0)