[supertransball2] 05/13: Update hardening.patch and use $CXX instead of c++.
Markus Koschany
apo at moszumanska.debian.org
Thu Jul 7 22:47:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository supertransball2.
commit 4070d1dff1909a0604f80e89699075e6e310d640
Author: Markus Koschany <apo at debian.org>
Date: Fri Jul 8 00:14:55 2016 +0200
Update hardening.patch and use $CXX instead of c++.
---
debian/patches/hardening.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
index baa70a1..2d70f4a 100644
--- a/debian/patches/hardening.patch
+++ b/debian/patches/hardening.patch
@@ -18,12 +18,12 @@ index c8d7a72..650d769 100644
%.o: %.cpp
- c++ -c -g3 -O3 $< -o $@ `sdl-config --cflags` -I/usr/local/include/SDL
-+ c++ -c -g3 -O3 $< -o $@ $(CPPFLAGS) $(CFLAGS) `sdl-config --cflags` -I/usr/local/include/SDL
++ $(CXX) -c -g3 -O3 $< -o $@ $(CPPFLAGS) $(CFLAGS) `sdl-config --cflags` -I/usr/local/include/SDL
# dynamically linked binary:
$(TARGET): $(OBJS)
- c++ $^ -o $@ `sdl-config --libs` -lSDL_image -lSDL_mixer -lSGE -I/usr/local/include/SDL
-+ c++ $^ -o $@ $(LDFLAGS) `sdl-config --libs` -lSDL_image -lSDL_mixer -lSGE -I/usr/local/include/SDL
++ $(CXX) $^ -o $@ $(LDFLAGS) `sdl-config --libs` -lSDL_image -lSDL_mixer -lSGE -I/usr/local/include/SDL
mv ./$(TARGET) ..
clean:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/supertransball2.git
More information about the Pkg-games-commits
mailing list