Files
gentoo-zh/app-misc/ccal/files/ccal-cflags.patch
T
Anonymous 48b15fc756 app-misc/ccal: fix QA Notice
https://bugs.gentoo.org/825958

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Anonymous <458892+aieu@users.noreply.github.com>
2021-12-07 17:40:54 +08:00

23 lines
489 B
Diff

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,9 @@ CXXFLAGS += -DUSE_YEARCACHE
# If the compiler doesn't use namespace, uncomment the following line
#CXXFLAGS += -DNO_NAMESPACE
+# ldflags
+LDFLAGS +=
+
# Binary installation directory
BINDIR=/usr/local/bin
@@ -43,7 +46,7 @@ CFLAGS += -O2
CXXFLAGS += -O2
ccal: ccal.o $(OBJS)
- $(CXX) $(CXXFLAGS) -o $@ $^ -lm
+ $(CXX) $(LDFLAGS) $(CXXFLAGS) -o $@ $^ -lm
install: ccal
./mkinstalldirs $(BINDIR)