emacs-macport: fix "Carbon.h" present but cannot be compiled
Previously, emacs-macport was giving the error: - AppKit/AppKit.h: present but cannot be compiled - Carbon/Carbon.h: present but cannot be compiled This add "MAC_OS_X_VERSION_MIN_REQUIRED=1090" to CFLAGS to allow them to compile with the new 10.10 headers. Fixes #20682.
This commit is contained in:
parent
38d77bc86b
commit
25cfafdf5b
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-mac-app=$$out/Applications"
|
"--enable-mac-app=$$out/Applications"
|
||||||
];
|
];
|
||||||
|
|
||||||
CFLAGS = "-O3 -DMAC_OS_X_VERSION_MAX_ALLOWED=1090";
|
CFLAGS = "-O3 -DMAC_OS_X_VERSION_MAX_ALLOWED=1090 -DMAC_OS_X_VERSION_MIN_REQUIRED=1090";
|
||||||
LDFLAGS = "-O3 -L${ncurses.out}/lib";
|
LDFLAGS = "-O3 -L${ncurses.out}/lib";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-mac-app=$$out/Applications"
|
"--enable-mac-app=$$out/Applications"
|
||||||
];
|
];
|
||||||
|
|
||||||
CFLAGS = "-O3 -DMAC_OS_X_VERSION_MAX_ALLOWED=1090";
|
CFLAGS = "-O3 -DMAC_OS_X_VERSION_MAX_ALLOWED=1090 -DMAC_OS_X_VERSION_MIN_REQUIRED=1090";
|
||||||
LDFLAGS = "-O3 -L${ncurses.out}/lib";
|
LDFLAGS = "-O3 -L${ncurses.out}/lib";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user