• 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/mongrel2/mongrel2-0001-use-CC-variable-to-compile-procer.patch
Lionel OrryLionel Orry committed b7175ef726f27 Mar 2013
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
From d30cf797af4828e49fd3c0f25841e669dec05ed5 Mon Sep 17 00:00:00 2001
From: Lionel Orry <lionel.orry@gmail.com>
Date: Wed, 27 Mar 2013 14:02:00 +0100
Subject: [PATCH 3/4] use CC variable to compile procer.
​
This fixes procer tool cross-compilation issues.
​
Signed-off-by: Lionel Orry <lionel.orry@gmail.com>
---
 tools/procer/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
​
diff --git a/tools/procer/Makefile b/tools/procer/Makefile
index d0d7de0..bb9aa31 100644
--- a/tools/procer/Makefile
+++ b/tools/procer/Makefile
@@ -8,7 +8,7 @@ all: procer
 
 
 procer: ../../build/libm2.a ${OBJECTS}
-   gcc $(OPTFLAGS) $(OPTLIBS) -o $@ ${OBJECTS} ../../build/libm2.a ${LIBS}
+   $(CC) $(OPTFLAGS) $(OPTLIBS) -o $@ ${OBJECTS} ../../build/libm2.a ${LIBS}
 
 clean:
    rm -f *.o procer
-- 
1.8.1.4
​
  • 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.