We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbef315 commit 410d8bcCopy full SHA for 410d8bc
Makefile.in
@@ -11,7 +11,7 @@ HASWELL = @HAVE_HASWELL@
11
CC = @CC@
12
CPPFLAGS = @CPPFLAGS@ -I$(SOURCE)/include -I$(SOURCE)/src -I.
13
CFLAGS = @CFLAGS@
14
-DEPFLAGS = -MT $@ -MMD -MP -MF $(@:.o=.d)
+DEPFLAGS = @DEPFLAGS@
15
VPATH = @srcdir@
16
17
SOURCE = @srcdir@
configure.ac
@@ -32,6 +32,13 @@ case "$enable_haswell" in
32
yes|*) enable_haswell=yes ;;
33
esac
34
35
+# GCC and Clang
36
+AX_CHECK_COMPILE_FLAG([-MMD],DEPFLAGS="-MMD -MP")
37
+# Oracle Developer Studio (no -MP)
38
+AX_CHECK_COMPILE_FLAG([-xMMD],DEPFLAGS="-xMMD")
39
+
40
+AC_SUBST([DEPFLAGS])
41
42
# Figure out the canonical target architecture.
43
AC_CANONICAL_TARGET
44
0 commit comments