subversion: fix error with clang #12059

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

2bits commented May 4, 2012

Subversion will fail with clang when it queries the compiler
used to build system Python and finds it is llvm-gcc. It then
uses the clang cflags with llvm-gcc to compile the python bindings
which causes the usual unknown -march=native flag issue.

Pre-define the configure variable ac_cv_python_compile as ENV.cc

Fixes #10914

nibbles 2bits subversion: fix error with clang
Subversion will fail with clang when it queries the compiler
used to build system Python and finds it is llvm-gcc.  It then
uses the clang cflags with llvm-gcc to compile the python bindings
which causes the usual unknown `-march=native` flag issue.

Pre-define the configure variable `ac_cv_python_compile` as ENV.cc

Fixes #10914
2f97b1c
Contributor

jacknagel commented May 4, 2012

Thanks.

jacknagel closed this in dc4245c May 4, 2012

@rohansingh rohansingh added a commit to rohansingh/homebrew that referenced this pull request May 7, 2012

@rohansingh nibbles 2bits + rohansingh subversion: fix error with clang
Subversion will fail with clang when it queries the compiler
used to build system Python and finds it is llvm-gcc.  It then
uses the clang cflags with llvm-gcc to compile the python bindings
which causes the usual unknown `-march=native` flag issue.

Pre-define the configure variable `ac_cv_python_compile` as ENV.cc

Fixes #10914.
Closes #12059.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
346ed62

@Sharpie Sharpie pushed a commit to Sharpie/homebrew that referenced this pull request Sep 12, 2012

@jacknagel nibbles 2bits + jacknagel subversion: fix error with clang
Subversion will fail with clang when it queries the compiler
used to build system Python and finds it is llvm-gcc.  It then
uses the clang cflags with llvm-gcc to compile the python bindings
which causes the usual unknown `-march=native` flag issue.

Pre-define the configure variable `ac_cv_python_compile` as ENV.cc

Fixes #10914.
Closes #12059.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
afd970d

@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this pull request Dec 17, 2012

@jacknagel nibbles 2bits + jacknagel subversion: fix error with clang
Subversion will fail with clang when it queries the compiler
used to build system Python and finds it is llvm-gcc.  It then
uses the clang cflags with llvm-gcc to compile the python bindings
which causes the usual unknown `-march=native` flag issue.

Pre-define the configure variable `ac_cv_python_compile` as ENV.cc

Fixes #10914.
Closes #12059.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
f6fee09

xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.