diff -Naur premake-4.2.1/build/gmake.unix/Premake4.make premake-4.2.1-haiku/build/gmake.unix/Premake4.make
|
old
|
new
|
|
| 28 | 28 | CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES) |
| 29 | 29 | CFLAGS += $(CPPFLAGS) $(ARCH) -Wall -Os |
| 30 | 30 | CXXFLAGS += $(CFLAGS) |
| 31 | | LDFLAGS += -s -rdynamic |
| 32 | | LIBS += -lm -ldl |
| | 31 | LDFLAGS += -s |
| | 32 | LIBS += |
| 33 | 33 | RESFLAGS += $(DEFINES) $(INCLUDES) |
| 34 | 34 | LDDEPS += |
| 35 | 35 | LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(ARCH) $(LIBS) |
diff -Naur premake-4.2.1/src/host/lua-5.1.4/src/luaconf.h premake-4.2.1-haiku/src/host/lua-5.1.4/src/luaconf.h
|
old
|
new
|
|
| 55 | 55 | #define LUA_USE_MKSTEMP |
| 56 | 56 | #define LUA_USE_ISATTY |
| 57 | 57 | #define LUA_USE_POPEN |
| 58 | | #define LUA_USE_ULONGJMP |
| 59 | 58 | #endif |
| 60 | 59 | |
| 61 | 60 | |
diff -Naur premake-4.2.1/src/host/premake.h premake-4.2.1-haiku/src/host/premake.h
|
old
|
new
|
|
| 12 | 12 | |
| 13 | 13 | /* Identify the current platform I'm not sure how to reliably detect |
| 14 | 14 | * Windows but since it is the most common I use it as the default */ |
| 15 | | #if defined(__linux__) |
| | 15 | #if defined(__linux__) || defined(__HAIKU__) |
| 16 | 16 | #define PLATFORM_LINUX (1) |
| 17 | 17 | #define PLATFORM_STRING "linux" |
| 18 | 18 | #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) |