Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlang
0662-crypto-enable-gprof-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0662-crypto-enable-gprof-build.patch of Package erlang
From 9af0fa871420bbc4656f7f6b27e3c9dbb21dbfef Mon Sep 17 00:00:00 2001 From: Mikael Pettersson <mikael.pettersson@klarna.com> Date: Thu, 12 Nov 2020 10:53:18 +0100 Subject: [PATCH 2/2] crypto: enable gprof build --- lib/crypto/c_src/Makefile.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in index 786fbc1031..45f5a3314e 100644 --- a/lib/crypto/c_src/Makefile.in +++ b/lib/crypto/c_src/Makefile.in @@ -57,10 +57,16 @@ ifeq ($(TYPE),valgrind) TYPEMARKER = .valgrind TYPE_FLAGS = $(subst -O3,,$(subst -O2,,$(CFLAGS))) -DVALGRIND else +ifeq ($(TYPE),gprof) +TYPEMARKER = .gprof +TYPE_EXTRA_CFLAGS = -DGPROF -pg +TYPE_FLAGS = $(CFLAGS) $(TYPE_EXTRA_CFLAGS) +else TYPEMARKER = TYPE_FLAGS = $(CFLAGS) endif endif +endif # ---------------------------------------------------- # Release directory specification @@ -125,7 +131,7 @@ endif endif ALL_CFLAGS = $(TYPE_FLAGS) $(EXTRA_FLAGS) $(INCLUDES) -ALL_STATIC_CFLAGS = $(DED_STATIC_CFLAGS) $(INCLUDES) +ALL_STATIC_CFLAGS = $(DED_STATIC_CFLAGS) $(TYPE_EXTRA_CFLAGS) $(INCLUDES) # ---------------------------------------------------- # Targets -- 2.26.2
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