mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-03 06:17:45 -04:00
build, fix arch detection in configure
This commit is contained in:
parent
cb4379b3bf
commit
7401f7005f
2 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -48,6 +48,8 @@ ifeq "$(ASAN)" "1"
|
|||
else
|
||||
ifeq "$(DEBUG)" "0"
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
else
|
||||
CFLAGS += -O1
|
||||
endif
|
||||
endif
|
||||
LD = $(CC)
|
||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -221,7 +221,7 @@ fi
|
|||
#fi
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
ARCH=`$CC -dumpmachine | awk -F '-' '{print $1}'`
|
||||
ARCH=`$CC $MFLAGS $CFLAGS -dumpmachine | awk -F '-' '{print $1}'`
|
||||
fi
|
||||
|
||||
# CPU/ABI stuff first, else compile test may fail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue