]> git.pld-linux.org Git - packages/postgis.git/commitdiff
- filter out compile flag that clang can't grok auto/th/postgis-3.0.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 17:07:15 +0000 (18:07 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 17:07:15 +0000 (18:07 +0100)
postgis.spec

index 869b192a993c4b7e4e52fc17d2badabd3b5cea42..3292dd5d4d2d7eaa351fe871d0ab9e2ef6293635 100644 (file)
@@ -19,6 +19,7 @@ Source0:      https://download.osgeo.org/postgis/source/%{name}-%{version}%{subver}.t
 Patch0:                install-lwgeom.patch
 URL:           http://postgis.refractions.net/
 %{?with_raster:BuildRequires:  gdal-devel >= 1.8.0}
+BuildRequires: clang
 BuildRequires: geos-devel >= 3.5.0
 BuildRequires: json-c-devel
 BuildRequires: libstdc++-devel
@@ -46,6 +47,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                specflags_x86_64        -fPIC
 
+# clang can't parse this
+%define                filterout               -fvar-tracking-assignments
+
 # oh well... I also don't understand this... ;)
 
 %description
@@ -121,7 +125,7 @@ export CFLAGS="%{rpmcflags} -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
        %{?with_gui:--with-gui} \
        %{!?with_raster:--without-raster}
 
-%{__make} -j1
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.16792 seconds and 4 git commands to generate.