diff options
Diffstat (limited to '.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk')
-rw-r--r-- | .pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk b/.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk new file mode 100644 index 0000000..90abdf2 --- /dev/null +++ b/.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk @@ -0,0 +1,24 @@ +include $(ROOTDIR)/makefiles/arch/unix.mk + +ifeq "$(INSTALLDIR)" "" + INSTALLDIR=/usr +endif +IMAGEDIR = $(INSTALLDIR)/share/pixmaps +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++ + +CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG +LDFLAGS = +EXTERNAL_INCLUDE = $(shell $(PKG_CONFIG) --cflags fribidi) + +MOC = "$(shell $(PKG_CONFIG) --variable=host_bins Qt5Core)/moc" +QTINCLUDE = $(shell $(PKG_CONFIG) --cflags Qt5Gui Qt5Widgets Qt5Network) +UILIBS = $(shell $(PKG_CONFIG) --libs Qt5Gui Qt5Widgets Qt5Network) + +RM = rm -rvf +RM_QUIET = rm -rf |