Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
xonotic
xonotic-makefile-multiarch.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xonotic-makefile-multiarch.patch of Package xonotic
diff -Naur Xonotic.orig/source/darkplaces/makefile.inc Xonotic/source/darkplaces/makefile.inc --- Xonotic.orig/source/darkplaces/makefile.inc 2013-06-05 03:03:36.000000000 +0200 +++ Xonotic/source/darkplaces/makefile.inc 2013-07-01 11:37:22.187152557 +0200 @@ -194,8 +194,20 @@ CFLAGS_RELEASE_PROFILE=-fbranch-probabilities CFLAGS_SDL=$(SDLCONFIG_CFLAGS) +ifeq ($(ARCH),) +ARCH=$(shell uname -m) +endif + +CFLAGS_SSE= +CFLAGS_SSE2= +ifeq ($(ARCH),i686) +CFLAGS_SSE=-msse +CFLAGS_SSE2=-msse2 +endif +ifeq ($(ARCH),x86_64) CFLAGS_SSE=-msse CFLAGS_SSE2=-msse2 +endif OPTIM_DEBUG=$(CPUOPTIMIZATIONS) #OPTIM_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops $(CPUOPTIMIZATIONS)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor