Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:interstar001:Icinga2
gn
gn-flags.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gn-flags.patch of Package gn
From bedf2161dea8cf4813fd14891feee2e8e8d5bf28 Mon Sep 17 00:00:00 2001 From: Mike Gilbert <floppym@gentoo.org> Date: Sun, 14 Oct 2018 20:34:07 -0400 Subject: [PATCH] Remove unwanted cflags/ldflags parameters --- build/gen.py | 9 --------- 1 file changed, 9 deletions(-) Index: gn-0.1726/build/gen.py =================================================================== --- gn-0.1726.orig/build/gen.py +++ gn-0.1726/build/gen.py @@ -288,11 +288,6 @@ def WriteGNNinja(path, platform, host, o if options.debug: cflags.extend(['-O0', '-g']) else: - cflags.append('-DNDEBUG') - cflags.append('-O3') - if options.no_strip: - cflags.append('-g') - ldflags.append('-O3') # Use -fdata-sections and -ffunction-sections to place each function # or data item into its own section so --gc-sections can eliminate any # unused functions and data items. @@ -325,7 +320,6 @@ def WriteGNNinja(path, platform, host, o '-D_FILE_OFFSET_BITS=64', '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS', '-pthread', - '-pipe', '-fno-exceptions', '-fno-rtti', '-fdiagnostics-color', @@ -341,9 +335,6 @@ def WriteGNNinja(path, platform, host, o if not options.no_static_libstdcpp: ldflags.append('-static-libstdc++') - # This is needed by libc++. - if not platform.is_mingw(): - libs.append('-ldl') elif platform.is_darwin(): min_mac_version_flag = '-mmacosx-version-min=10.9' cflags.append(min_mac_version_flag)
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