mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
libretro, fix classic_arm builds, minor cleanup
This commit is contained in:
parent
a5085db3ea
commit
36b2f2931f
4 changed files with 10 additions and 7 deletions
|
@ -334,7 +334,7 @@ else ifeq ($(platform), classic_armv7_a7)
|
|||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--no-undefined,-Bsymbolic
|
||||
CFLAGS += -Ofast \
|
||||
-flto=4 -fwhole-program -fuse-linker-plugin \
|
||||
-flto=4 -fuse-linker-plugin \
|
||||
-fdata-sections -ffunction-sections -Wl,--gc-sections \
|
||||
-fno-stack-protector -fno-ident -fomit-frame-pointer \
|
||||
-falign-functions=1 -falign-jumps=1 -falign-loops=1 \
|
||||
|
@ -363,7 +363,7 @@ else ifeq ($(platform), classic_armv8_a35)
|
|||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--no-undefined,-Bsymbolic
|
||||
CFLAGS += -Ofast \
|
||||
-flto -fwhole-program -fuse-linker-plugin \
|
||||
-flto -fuse-linker-plugin \
|
||||
-fdata-sections -ffunction-sections -Wl,--gc-sections \
|
||||
-fno-stack-protector -fno-ident -fomit-frame-pointer \
|
||||
-falign-functions=1 -falign-jumps=1 -falign-loops=1 \
|
||||
|
@ -715,4 +715,4 @@ include Makefile
|
|||
|
||||
ifeq ($(platform), osx)
|
||||
pico/cd/libchdr/src/libchdr_chd.o: CFLAGS += -D__MACTYPES__=1
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue