[mupen64plus-audio-sdl] 98/163: Imported Upstream version 1.99.5+3+4b37353431b3

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:53:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch armhf_test
in repository mupen64plus-audio-sdl.

commit 4e06420e2f3d7d0fdbd92ecfff1491032f439a93
Author: Sven Eckelmann <sven at narfation.org>
Date:   Sat Jun 16 21:45:03 2012 +0200

    Imported Upstream version 1.99.5+3+4b37353431b3
---
 projects/unix/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/projects/unix/Makefile b/projects/unix/Makefile
index 45db3d1..ccf93cb 100644
--- a/projects/unix/Makefile
+++ b/projects/unix/Makefile
@@ -142,7 +142,7 @@ ifeq ($(OS), OSX)
     else
       CFLAGS += -pipe -mmmx -msse -fomit-frame-pointer -arch i686 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk
       LDFLAGS += -arch i686
-      LDLIBS += -ldl
+      LDLIBS += -ldl -read_only_relocs suppress
     endif
   endif
 endif
@@ -277,6 +277,7 @@ targets:
 	@echo "    DESTDIR=path  == path to prepend to all installation paths (only for packagers)"
 	@echo "  Debugging Options:"
 	@echo "    DEBUG=1       == add debugging symbols"
+	@echo "    LTO=1         == enable experimental build with link-time optimization"
 	@echo "    V=1           == show verbose compiler output"
 
 
@@ -294,6 +295,11 @@ clean:
 
 rebuild: clean all
 
+ifeq ($(LTO), 1)
+  CFLAGS += -flto
+  LDFLAGS += -fuse-linker-plugin $(CFLAGS)
+endif
+
 # standard build rules
 $(OBJDIR)/%.o: $(SRCDIR)/%.c
 	$(COMPILE.c) -o $@ $<

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-audio-sdl.git



More information about the Pkg-games-commits mailing list