We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7847af8 commit 91164acCopy full SHA for 91164ac
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
@@ -30,6 +30,13 @@ case "$enable_haswell" in
30
yes|*) enable_haswell=yes ;;
31
esac
32
33
+# GCC and Clang
34
+AX_CHECK_COMPILE_FLAG([-MMD],DEPFLAGS="-MMD -MP")
35
+# Oracle Developer Studio (no -MP)
36
+AX_CHECK_COMPILE_FLAG([-xMMD],DEPFLAGS="-xMMD")
37
+
38
+AC_SUBST([DEPFLAGS])
39
40
# Figure out the canonical target architecture.
41
AC_CANONICAL_TARGET
42
0 commit comments