• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/gpsd/0001-SConstruct-do-not-force-O2-by-default.patch
Zoltan GyarmatiZoltan Gyarmati committed 37ebd3b782f29 Jan 2018
Raw file
Source viewDiff to previous
 
1
From eb7cce5dbb53a64cf55ac0d9a7fa4dcbebd4b173 Mon Sep 17 00:00:00 2001
2
From: Waldemar Brodkorb <wbx@openadk.org>
3
Date: Mon, 14 Aug 2017 23:24:38 +0200
4
Subject: [PATCH] SConstruct: do not force -O2 by default
5
​
6
-O2 can cause problems on some architectures, so do not force it by
7
 default.
8
​
9
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
10
---
11
 SConstruct | 2 --
12
 1 file changed, 2 deletions(-)
13
​
14
diff --git a/SConstruct b/SConstruct
15
index fe444a2..93d91a4 100644
16
--- a/SConstruct
17
+++ b/SConstruct
18
@@ -330,8 +330,6 @@ if not 'CCFLAGS' in os.environ:
19
     # Should we build with optimisation?
20
     if env['debug'] or env['coveraging']:
21
         env.Append(CCFLAGS=['-O0'])
22
-    else:
23
-        env.Append(CCFLAGS=['-O2'])
24
 
25
 # Get a slight speedup by not doing automatic RCS and SCCS fetches.
26
 env.SourceCode('.', None)
27
-- 
28
2.9.4
29
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.