Skip to content

Commit

Permalink
Use iop-gcc -dumpversion for getting version number
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Jun 6, 2020
1 parent b8769b6 commit f1152f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/Rules.make
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Licenced under Academic Free License version 2.0
# Review ps2sdk README & LICENSE files for further details.

IOP_CC_VERSION := $(shell $(IOP_CC) --version 2>&1 | sed -n 's/^.*(GCC) //p')
IOP_CC_VERSION := $(shell $(IOP_CC) -dumpversion)

ifeq ($(IOP_CC_VERSION),3.2.2)
ASFLAGS_TARGET = -march=r3000
Expand Down
2 changes: 1 addition & 1 deletion modules/pademu/Rules.make
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Licenced under Academic Free License version 2.0
# Review ps2sdk README & LICENSE files for further details.

IOP_CC_VERSION := $(shell $(IOP_CC) --version 2>&1 | sed -n 's/^.*(GCC) //p')
IOP_CC_VERSION := $(shell $(IOP_CC) -dumpversion)

ifeq ($(IOP_CC_VERSION),3.2.2)
ASFLAGS_TARGET = -march=r3000
Expand Down

0 comments on commit f1152f0

Please sign in to comment.