Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
sbcl
0003-Add-RPM_OPT_FLAGS-to-CFLAGS-for-Linux-buil...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-Add-RPM_OPT_FLAGS-to-CFLAGS-for-Linux-builds.patch of Package sbcl
From 97e625f273f84f532e1de5d6121cdbe817176a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se> Date: Sun, 24 Jul 2016 18:12:51 +0200 Subject: [PATCH 3/3] Add $(RPM_OPT_FLAGS) to CFLAGS for Linux builds --- contrib/asdf-module.mk | 2 +- src/runtime/Config.arm64-linux | 2 ++ src/runtime/Config.ppc-linux | 2 +- src/runtime/Config.sparc-linux | 2 ++ src/runtime/Config.x86-64-linux | 2 +- src/runtime/Config.x86-linux | 2 ++ 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/contrib/asdf-module.mk b/contrib/asdf-module.mk index df134ea..57a53ae 100644 --- a/contrib/asdf-module.mk +++ b/contrib/asdf-module.mk @@ -21,7 +21,7 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) CC:=$(shell cygpath -m $(shell readlink -fn $(shell which $(CC)))) endif ifeq (Linux,$(UNAME)) - EXTRA_CFLAGS+=-D_GNU_SOURCE + EXTRA_CFLAGS+=-D_GNU_SOURCE $(RPM_OPT_FLAGS) endif export CC SBCL EXTRA_CFLAGS diff --git a/src/runtime/Config.arm64-linux b/src/runtime/Config.arm64-linux index 9d3efd0..5a21bf9 100644 --- a/src/runtime/Config.arm64-linux +++ b/src/runtime/Config.arm64-linux @@ -33,6 +33,8 @@ ifdef LISP_FEATURE_LARGEFILE CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 endif +CFLAGS += $(RPM_OPT_FLAGS) + # Nothing to do for after-grovel-headers. .PHONY: after-grovel-headers after-grovel-headers: diff --git a/src/runtime/Config.ppc-linux b/src/runtime/Config.ppc-linux index f4193ee..5ddb0ea 100644 --- a/src/runtime/Config.ppc-linux +++ b/src/runtime/Config.ppc-linux @@ -9,7 +9,7 @@ # provided with absolutely no warranty. See the COPYING and CREDITS # files for more information. -CFLAGS += -m32 +CFLAGS += -m32 $(RPM_OPT_FLAGS) LINKFLAGS += -rdynamic -m32 NM = ./linux-nm diff --git a/src/runtime/Config.sparc-linux b/src/runtime/Config.sparc-linux index 224ee33..2303432 100644 --- a/src/runtime/Config.sparc-linux +++ b/src/runtime/Config.sparc-linux @@ -23,6 +23,8 @@ ifdef LISP_FEATURE_SB_CORE_COMPRESSION OS_LIBS += -lz endif +CFLAGS += $(RPM_OPT_FLAGS) + ifdef LISP_FEATURE_GENCGC GC_SRC = fullcgc.c gencgc.c else diff --git a/src/runtime/Config.x86-64-linux b/src/runtime/Config.x86-64-linux index 204eaff..3c289f8 100644 --- a/src/runtime/Config.x86-64-linux +++ b/src/runtime/Config.x86-64-linux @@ -42,7 +42,7 @@ ifdef LISP_FEATURE_SB_CORE_COMPRESSION OS_LIBS += -lz endif -CFLAGS += -fno-omit-frame-pointer -momit-leaf-frame-pointer +CFLAGS += -fno-omit-frame-pointer -momit-leaf-frame-pointer $(RPM_OPT_FLAGS) ifdef LISP_FEATURE_IMMOBILE_SPACE GC_SRC = fullcgc.c gencgc.c traceroot.c immobile-space.c diff --git a/src/runtime/Config.x86-linux b/src/runtime/Config.x86-linux index 117630b..0aa0e0c 100644 --- a/src/runtime/Config.x86-linux +++ b/src/runtime/Config.x86-linux @@ -48,6 +48,8 @@ ifdef LISP_FEATURE_SB_LINKABLE_RUNTIME USE_LIBSBCL = sbcl.o endif +CFLAGS += $(RPM_OPT_FLAGS) + GC_SRC = fullcgc.c gencgc.c traceroot.c # Nothing to do for after-grovel-headers. -- 2.8.4
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