mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-23 15:23:44 +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
|
$(DOWNLOADS)/ruby/Makefile: $(DOWNLOADS)/ruby/configure
|
||||||
cd $(DOWNLOADS)/ruby; \
|
cd $(DOWNLOADS)/ruby; \
|
||||||
export $(CONFIGURE_ENV); \
|
export $(CONFIGURE_ENV); \
|
||||||
export CFLAGS="-flto=full $$CFLAGS"; \
|
export CFLAGS="-flto $$CFLAGS"; \
|
||||||
export LDFLAGS="-flto=full $$LDFLAGS"; \
|
export LDFLAGS="-flto $$LDFLAGS"; \
|
||||||
./configure $(CONFIGURE_ARGS) $(RUBY_CONFIGURE_ARGS) $(RUBY_FLAGS)
|
./configure $(CONFIGURE_ARGS) $(RUBY_CONFIGURE_ARGS) $(RUBY_FLAGS)
|
||||||
|
|
||||||
$(DOWNLOADS)/ruby/configure: $(DOWNLOADS)/ruby/*.c
|
$(DOWNLOADS)/ruby/configure: $(DOWNLOADS)/ruby/*.c
|
||||||
|
|
Loading…
Add table
Reference in a new issue