r185312 - Following the modification introduced in llvm by commit 185311
Sylvestre Ledru
sylvestre at debian.org
Mon Jul 1 01:13:34 PDT 2013
Author: sylvestre
Date: Mon Jul 1 03:13:34 2013
New Revision: 185312
URL: http://llvm.org/viewvc/llvm-project?rev=185312&view=rev
Log:
Following the modification introduced in llvm by commit 185311
The build system is currently miss-identifying GNU/kFreeBSD as FreeBSD.
This kind of simplification is sometimes useful, but in general it's not correct.
As GNU/kFreeBSD is an hybrid system, for kernel-related issues we want to match the
build definitions used for FreeBSD, whereas for userland-related issues we want to
match the definitions used for other systems with Glibc.
The current modification adjusts the build system so that they can be distinguished,
and explicitly adds GNU/kFreeBSD to the build checks in which it belongs.
Fixes bug #16445.
Patch by Robert Millan in the context of Debian.
Modified:
cfe/trunk/tools/libclang/Makefile
Modified: cfe/trunk/tools/libclang/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/Makefile?rev=185312&r1=185311&r2=185312&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/Makefile (original)
+++ cfe/trunk/tools/libclang/Makefile Mon Jul 1 03:13:34 2013
@@ -24,12 +24,12 @@ USEDLIBS = clangFrontend.a clangDriver.a
clangARCMigrate.a clangRewriteFrontend.a clangRewriteCore.a \
clangAnalysis.a clangEdit.a \
clangAST.a clangLex.a clangBasic.a \
- clangFormat.a
+ clangFormat.a
include $(CLANG_LEVEL)/Makefile
# Add soname to the library.
-ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU))
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU GNU/kFreeBSD))
LDFLAGS += -Wl,-soname,lib$(LIBRARYNAME)$(SHLIBEXT)
endif
More information about the cfe-commits
mailing list