|
1 |
| -diff --git a/Makefile b/Makefile |
2 |
| -index 93ef345..75f5bd4 100644 |
3 |
| ---- a/Makefile |
4 |
| -+++ b/Makefile |
5 |
| -@@ -21,10 +21,10 @@ SDL_CONFIG ?= sdl2-config |
| 1 | +diff --git i/Makefile w/Makefile |
| 2 | +index cff286e2..40e3c05f 100644 |
| 3 | +--- i/Makefile |
| 4 | ++++ w/Makefile |
| 5 | +@@ -43,10 +43,10 @@ SDL_CONFIG ?= sdl2-config |
6 | 6 | export SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags)
|
7 | 7 | export SDL_LDFLAGS := $(shell $(SDL_CONFIG) --libs)
|
8 |
| - |
9 |
| --CPPFLAGS = -MD -MT $@ -MF $(@:%.o=%.d) $(SDL_CFLAGS) -Iexternal/libguisan/include -Isrc -Isrc/osdep -Isrc/threaddep -Isrc/include -Isrc/archivers -Isrc/floppybridge -DAMIBERRY -D_FILE_OFFSET_BITS=64 |
10 |
| --CFLAGS=-pipe -Wno-shift-overflow -Wno-narrowing |
11 |
| -+CPPFLAGS += -MD -MT $@ -MF $(@:%.o=%.d) $(SDL_CFLAGS) -Iexternal/libguisan/include -Isrc -Isrc/osdep -Isrc/threaddep -Isrc/include -Isrc/archivers -Isrc/floppybridge -DAMIBERRY -D_FILE_OFFSET_BITS=64 |
12 |
| -+CFLAGS +=-pipe -Wno-shift-overflow -Wno-narrowing |
| 8 | + |
| 9 | +-CPPFLAGS = -MD -MT $@ -MF $(@:%.o=%.d) $(SDL_CFLAGS) -Iexternal/libguisan/include -Isrc -Isrc/osdep -Isrc/threaddep -Isrc/include -Isrc/archivers -Isrc/floppybridge -Iexternal/mt32emu/src -D_FILE_OFFSET_BITS=64 |
| 10 | +-CFLAGS=-pipe -Wno-shift-overflow -Wno-narrowing -fno-pie |
| 11 | ++CPPFLAGS += -MD -MT $@ -MF $(@:%.o=%.d) $(SDL_CFLAGS) -Iexternal/libguisan/include -Isrc -Isrc/osdep -Isrc/threaddep -Isrc/include -Isrc/archivers -Isrc/floppybridge -Iexternal/mt32emu/src -D_FILE_OFFSET_BITS=64 |
| 12 | ++CFLAGS +=-pipe -Wno-shift-overflow -Wno-narrowing -fno-pie |
13 | 13 | USE_LD ?= gold
|
14 |
| --LDFLAGS = $(SDL_LDFLAGS) -lSDL2_image -lSDL2_ttf -lserialport -lguisan -Lexternal/libguisan/lib |
15 |
| -+LDFLAGS += $(SDL_LDFLAGS) -lSDL2_image -lSDL2_ttf -lserialport -lguisan -Lexternal/libguisan/lib |
| 14 | +-LDFLAGS = $(SDL_LDFLAGS) -lSDL2_image -lSDL2_ttf -lserialport -lportmidi -lguisan -Lexternal/libguisan/lib -lmt32emu -Lexternal/mt32emu |
| 15 | ++LDFLAGS += $(SDL_LDFLAGS) -lSDL2_image -lSDL2_ttf -lserialport -lportmidi -lguisan -Lexternal/libguisan/lib -lmt32emu -Lexternal/mt32emu |
16 | 16 | ifneq ($(strip $(USE_LD)),)
|
17 |
| - LDFLAGS += -fuse-ld=$(USE_LD) |
| 17 | + LDFLAGS += -fuse-ld=$(USE_LD) |
18 | 18 | endif
|
0 commit comments