[LLVMbugs] [Bug 20865] New: autoconf unconditionally defines _GNU_SOURCE
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Sep 5 19:44:35 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20865
Bug ID: 20865
Summary: autoconf unconditionally defines _GNU_SOURCE
Product: Build scripts
Version: trunk
Hardware: PC
OS: OpenBSD
Status: NEW
Severity: normal
Priority: P
Component: autoconf
Assignee: unassignedbugs at nondot.org
Reporter: jsg at openbsd.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
When built via autoconf LLVM unconditionally defines _GNU_SOURCE, this is not
the case when built via cmake. When built via cmake LLVM first checks if the
host is using glibc before adding the define.
This becomes a problem when llvm-config --cflags includes _GNU_SOURCE and
projects like Mesa assume _GNU_SOURCE means the system is using glibc.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140906/21d9ea4f/attachment.html>
More information about the llvm-bugs
mailing list