- no longer use $RPM_OPT_FLAGS in order to make it a real noarch

package (boo#1110020)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-cf-files?expand=0&rev=17
This commit is contained in:
Stefan Dirsch 2018-09-27 19:14:19 +00:00 committed by Git OBS Bridge
parent 643be74c49
commit f2b17ff832
2 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 27 19:07:30 UTC 2018 - sndirsch@suse.com
- no longer use $RPM_OPT_FLAGS in order to make it a real noarch
package (boo#1110020)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 27 13:11:08 UTC 2018 - schwab@suse.de Tue Feb 27 13:11:08 UTC 2018 - schwab@suse.de

View File

@ -66,39 +66,39 @@ cat > host.def << EOF
%endif %endif
#ifdef i386Architecture #ifdef i386Architecture
#undef DefaultGcc2i386Opt #undef DefaultGcc2i386Opt
#define DefaultGcc2i386Opt $RPM_OPT_FLAGS -fno-strict-aliasing #define DefaultGcc2i386Opt -O2 -Wall -fno-strict-aliasing
#endif #endif
#ifdef MipsArchitecture #ifdef MipsArchitecture
#undef DefaultGcc2MipsOpt #undef DefaultGcc2MipsOpt
#define DefaultGcc2MipsOpt $RPM_OPT_FLAGS -fno-strict-aliasing #define DefaultGcc2MipsOpt -O2 -Wall -fno-strict-aliasing
#endif #endif
#ifdef PpcArchitecture #ifdef PpcArchitecture
#undef DefaultGcc2PpcOpt #undef DefaultGcc2PpcOpt
#define DefaultGcc2PpcOpt $RPM_OPT_FLAGS -fno-strict-aliasing #define DefaultGcc2PpcOpt -O2 -Wall -fno-strict-aliasing
#endif #endif
#ifdef Ppc64Architecture #ifdef Ppc64Architecture
#undef DefaultGcc2Ppc64Opt #undef DefaultGcc2Ppc64Opt
#define DefaultGcc2Ppc64Opt $RPM_OPT_FLAGS -fno-strict-aliasing #define DefaultGcc2Ppc64Opt -O2 -Wall -fno-strict-aliasing
#endif #endif
#ifdef AMD64Architecture #ifdef AMD64Architecture
#undef DefaultGcc2AMD64Opt #undef DefaultGcc2AMD64Opt
#define DefaultGcc2AMD64Opt $RPM_OPT_FLAGS -fno-strict-aliasing #define DefaultGcc2AMD64Opt -O2 -Wall -fno-strict-aliasing
#endif #endif
#ifdef AArch64Architecture #ifdef AArch64Architecture
#undef DefaultGcc2AArch64Opt #undef DefaultGcc2AArch64Opt
#define DefaultGcc2AArch64Opt $RPM_OPT_FLAGS -fno-strict-aliasing #define DefaultGcc2AArch64Opt -O2 -Wall -fno-strict-aliasing
#endif #endif
#ifdef s390xArchitecture #ifdef s390xArchitecture
#undef OptimizedCDebugFlags #undef OptimizedCDebugFlags
#define OptimizedCDebugFlags $RPM_OPT_FLAGS -fno-strict-aliasing #define OptimizedCDebugFlags -O2 -Wall -fno-strict-aliasing
#endif #endif
#ifdef ia64Architecture #ifdef ia64Architecture
#undef OptimizedCDebugFlags #undef OptimizedCDebugFlags
#define OptimizedCDebugFlags $RPM_OPT_FLAGS -fno-strict-aliasing #define OptimizedCDebugFlags -O2 -Wall -fno-strict-aliasing
#endif #endif
#if defined(SparcArchitecture) || defined(Sparc64Architecture) #if defined(SparcArchitecture) || defined(Sparc64Architecture)
#undef OptimizedCDebugFlags #undef OptimizedCDebugFlags
#define OptimizedCDebugFlags $RPM_OPT_FLAGS -fno-strict-aliasing #define OptimizedCDebugFlags -O2 -Wall -fno-strict-aliasing
# undef HaveLib64 # undef HaveLib64
#if defined(Sparc64Architecture) #if defined(Sparc64Architecture)
# define HaveLib64 YES # define HaveLib64 YES