mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-07-05 16:15:17 +02:00
Ubuntu needs -flto
instead of -flto=full
This commit is contained in:
parent
580da08dc3
commit
ae6fd075fa
1 changed files with 2 additions and 2 deletions
|
@ -334,8 +334,8 @@ $(BUILD_PREFIX)/libruby.so.3.1: $(DOWNLOADS)/ruby/Makefile
|
|||
$(DOWNLOADS)/ruby/Makefile: $(DOWNLOADS)/ruby/configure
|
||||
cd $(DOWNLOADS)/ruby; \
|
||||
export $(CONFIGURE_ENV); \
|
||||
export CFLAGS="-flto=full $$CFLAGS"; \
|
||||
export LDFLAGS="-flto=full $$LDFLAGS"; \
|
||||
export CFLAGS="-flto $$CFLAGS"; \
|
||||
export LDFLAGS="-flto $$LDFLAGS"; \
|
||||
./configure $(CONFIGURE_ARGS) $(RUBY_CONFIGURE_ARGS) $(RUBY_FLAGS)
|
||||
|
||||
$(DOWNLOADS)/ruby/configure: $(DOWNLOADS)/ruby/*.c
|
||||
|
|
Loading…
Add table
Reference in a new issue