Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142704378
D5362.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D5362.diff
View Options
Index: head/lang/lua51/Makefile
===================================================================
--- head/lang/lua51/Makefile
+++ head/lang/lua51/Makefile
@@ -52,9 +52,7 @@
LUA_INCDIR?= ${LUA_PREFIX}/include/${LUA_SUBDIR}
LUA_LIBDIR?= ${LUA_PREFIX}/lib
-CFLAGS_aarch64= -fPIC
-CFLAGS_amd64= -fPIC
-CFLAGS_powerpc= -fPIC
+CFLAGS+= -fPIC
post-patch:
@${REINPLACE_CMD} -e 's,rand *(,random(,g' \
Index: head/lang/lua52/Makefile
===================================================================
--- head/lang/lua52/Makefile
+++ head/lang/lua52/Makefile
@@ -57,9 +57,7 @@
libdir=${LUA_LIBDIR} \
soname=lua-${LUA_VER}
-CFLAGS_aarch64= -fPIC
-CFLAGS_amd64= -fPIC
-CFLAGS_powerpc= -fPIC
+CFLAGS+= -fPIC
post-patch:
@${REINPLACE_CMD} -e 's,rand *(,random(,g' \
Index: head/lang/lua53/Makefile
===================================================================
--- head/lang/lua53/Makefile
+++ head/lang/lua53/Makefile
@@ -58,9 +58,7 @@
libdir=${LUA_LIBDIR} \
soname=lua-${LUA_VER}
-CFLAGS_aarch64= -fPIC
-CFLAGS_amd64= -fPIC
-CFLAGS_powerpc= -fPIC
+CFLAGS+= -fPIC
post-patch:
@${REINPLACE_CMD} -e 's,rand *(,random(,g' \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 11:32 AM (45 m, 31 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27881660
Default Alt Text
D5362.diff (1 KB)
Attached To
Mode
D5362: Use -fPIC on all arches; lua builds the object files into a shared lib.
Attached
Detach File
Event Timeline
Log In to Comment