void-packages/srcpkgs/fbreader/patches/cross.patch
2018-03-17 07:18:57 +00:00

19 lines
667 B
Diff

--- makefiles/arch/desktop.mk.orig 2012-11-30 12:41:25.000000000 +0000
+++ makefiles/arch/desktop.mk 2018-03-17 06:44:28.961588128 +0000
@@ -7,13 +7,10 @@
APPIMAGEDIR = $(INSTALLDIR)/share/pixmaps/%APPLICATION_NAME%
-CCACHE = $(shell if which ccache > /dev/null; then echo "ccache"; fi) #if ccache is not installed, do not use it
-CC = $(CCACHE) gcc
-AR = ar rsu
-LD = g++
+AR := ${AR} rsu
+LD := ${CXX}
-CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG
-LDFLAGS =
+CFLAGS += -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG
EXTERNAL_INCLUDE = $(shell pkg-config --cflags fribidi)
ifeq "$(UI_TYPE)" "qt"