This is required for clang archs, since imake chokes on the output of "clang -E -traditional", and doesn't hurt on gcc archs. * Use the normal autotools build infrastructure instead of rolling our own.
15 lines
468 B
Plaintext
15 lines
468 B
Plaintext
$OpenBSD: patch-imakemdep_h,v 1.1 2017/02/28 21:46:51 naddy Exp $
|
|
--- imakemdep.h.orig Sat Aug 17 12:11:06 2013
|
|
+++ imakemdep.h Thu Feb 23 15:36:01 2017
|
|
@@ -330,6 +330,10 @@ in this Software without prior written authorization f
|
|
# define DEFAULT_CC "gcc"
|
|
# endif
|
|
# endif
|
|
+# if defined(__OpenBSD__)
|
|
+# undef USE_CC_E
|
|
+# define DEFAULT_CPP "/usr/libexec/tradcpp"
|
|
+# endif
|
|
|
|
# endif /* !defined (CROSSCOMPILE) || defined (CROSSCOMPILE_CPP) */
|
|
/*
|