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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to