1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

Ports: Remove/replace hardcoded i686-pc-serenity-{gcc,g++,ar,ranlib}

Except in the Lua port's Makefile patch, I couldn't figure this out...
This commit is contained in:
Linus Groh 2021-03-11 21:46:53 +01:00 committed by Andreas Kling
parent f9cf6bfce1
commit 7cb9237be9
9 changed files with 11 additions and 8 deletions

View file

@ -22,11 +22,12 @@ diff -Naur lua-5.3.5/src/Makefile lua-5.3.5.serenity/src/Makefile
LUA_A= liblua.a
CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
@@ -124,6 +124,13 @@
@@ -124,6 +124,14 @@
solaris:
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN -D_REENTRANT" SYSLIBS="-ldl"
+serenity:
+ # FIXME: Replace these with $CC, $AR, $RANLIB
+ $(MAKE) $(ALL) \
+ CC="i686-pc-serenity-gcc -std=gnu99" \
+ AR="i686-pc-serenity-ar rcu" \