]> git.pld-linux.org Git - packages/freetype.git/commitdiff
- make sure we're using the right gcc flavor
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 22 Dec 2014 18:28:01 +0000 (18:28 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 22 Dec 2014 18:28:01 +0000 (18:28 +0000)
freetype.spec

index b48d753eaef4cf6683336860eaf7653276e6a79a..4fa33f051e1d2f7cde05a5f565150152dcd4662c 100644 (file)
@@ -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}
This page took 0.106223 seconds and 4 git commands to generate.