June 23, 2014 [Issue 12963] New: posix.mak hardcodes $(CC) as cc on non Windows system | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12963 Issue ID: 12963 Summary: posix.mak hardcodes $(CC) as cc on non Windows system Product: D Version: unspecified Hardware: x86 OS: All Status: NEW Severity: minor Priority: P1 Component: Phobos Assignee: nobody@puremagic.com Reporter: jason.brian.king@gmail.com Currently, the Phobos posix.mak contains the following lines: # Set CC and DMD ifeq ($(OS),win32wine) CC = wine dmc.exe DMD = wine dmd.exe RUN = wine else DMD = ../dmd/src/dmd ifeq ($(OS),win32) CC = dmc else CC = cc endif RUN = endif This has the effect of hardcoding $CC to cc on non-Win32 systems. I don't think there's any reason this should hard code this on non-Win32 systems (as it precludes using a specific C compiler). -- |
Copyright © 1999-2021 by the D Language Foundation