[packages/freetype] - make sure we're using the right gcc flavor
baggins
baggins at pld-linux.org
Mon Dec 22 19:25:39 CET 2014
commit 347f1c1120fe2dcd3e8440a950c6b7c7bcf56208
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Dec 22 18:28:01 2014 +0000
- make sure we're using the right gcc flavor
freetype.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/freetype.spec b/freetype.spec
index b48d753..4fa33f0 100644
--- a/freetype.spec
+++ b/freetype.spec
@@ -202,6 +202,7 @@ Programy demonstracyjne do biblioteki FreeType.
%{__sed} -i -e 's,libpng-config --ldflags,libpng-config --libs,' builds/unix/configure
%build
+CC="%{__cc}" \
CFLAGS="%{rpmcflags} %{rpmcppflags} \
%{?with_lcd:-DFT_CONFIG_OPTION_SUBPIXEL_RENDERING} \
-DTT_CONFIG_OPTION_SUBPIXEL_HINTING \
@@ -210,10 +211,12 @@ CFLAGS="%{rpmcflags} %{rpmcppflags} \
%{__make} setup unix \
CFG="--prefix=%{_prefix} --libdir=%{_libdir}"
+CC="%{__cc}" \
%{__make} \
X11_LIB=%{?_x_libraries}
%if %{with x11}
+CC="%{__cc}" \
%{__make} -C ft2demos-* \
TOP_DIR=$(pwd) \
X11_LIB=%{?_x_libraries}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/freetype.git/commitdiff/347f1c1120fe2dcd3e8440a950c6b7c7bcf56208
More information about the pld-cvs-commit
mailing list