openbsd-ports/devel/luabitop/patches/patch-Makefile

17 lines
524 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2009/09/09 19:39:47 jolan Exp $
--- Makefile.orig Tue Jan 6 14:18:00 2009
+++ Makefile Wed Sep 9 14:22:10 2009
@@ -12,10 +12,10 @@ DEFINES=
# Lua executable name. Used to find the install path and for testing.
LUA= lua
-CC= gcc
+#CC= gcc
SOCFLAGS= -fPIC
SOCC= $(CC) -shared $(SOCFLAGS)
-CFLAGS= -Wall -O2 -fomit-frame-pointer $(SOCFLAGS) $(DEFINES) $(INCLUDES)
+CFLAGS+= -Wall $(SOCFLAGS) $(DEFINES) $(INCLUDES)
RM= rm -f
INSTALL= install -p
INSTALLPATH= $(LUA) installpath.lua