forked from pool/argyllcms
Accepting request 287548 from home:rguenther:branches:multimedia:color_management
- Use -std=gnu89 for building to not run into broken __declspec uses with the GCC 5 default of -std=gnu99. OBS-URL: https://build.opensuse.org/request/show/287548 OBS-URL: https://build.opensuse.org/package/show/multimedia:color_management/argyllcms?expand=0&rev=29
This commit is contained in:
parent
67a37d4f4a
commit
aa7b50aed8
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 24 15:00:24 UTC 2015 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Use -std=gnu89 for building to not run into broken __declspec
|
||||||
|
uses with the GCC 5 default of -std=gnu99.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 23 13:55:20 UTC 2015 - meissner@suse.com
|
Mon Feb 23 13:55:20 UTC 2015 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package argyllcms
|
# spec file for package argyllcms
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -118,11 +118,11 @@ rm -fr usb/{*.inf,*.rtf,*.inf,*.cat,*.vcproj,*.sys,*.dsw,*.sln,*.dsp,*template*,
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd ajam-2.5.2-1.3.3
|
cd ajam-2.5.2-1.3.3
|
||||||
make CFLAGS="${RPM_OPT_FLAGS}"
|
make CFLAGS="-std=gnu89 ${RPM_OPT_FLAGS}"
|
||||||
ln -s $PWD/bin.unix/jam ../jam
|
ln -s $PWD/bin.unix/jam ../jam
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo "CCFLAGS += ${RPM_OPT_FLAGS} -fno-strict-aliasing ;" >> Jamtop
|
echo "CCFLAGS += -std=gnu89 ${RPM_OPT_FLAGS} -fno-strict-aliasing ;" >> Jamtop
|
||||||
# Evil hack to get --as-needed working. The build system unfortunately lists all
|
# Evil hack to get --as-needed working. The build system unfortunately lists all
|
||||||
# the shared libraries by default on the command line _before_ the object to be built...
|
# the shared libraries by default on the command line _before_ the object to be built...
|
||||||
echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
|
echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
|
||||||
|
Loading…
Reference in New Issue
Block a user