summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJean-Philippe ANDRE <jpeg@videolan.org>2015-03-25 11:19:53 -0700
committerJean-Philippe ANDRE <jpeg@videolan.org>2015-03-25 11:56:44 -0700
commitf30c0ea3997e92d527d662cd9e33e76ed3fe0343 (patch)
treed9898dd9c1a252f5c2c78bdcc7b4fe892d66adb7 /m4
parent62b5ca7060ad748a5e82a4f3f7f0d644f2ef626e (diff)
Build: Fix horribly slow compilation times
Cedric, our dear b0rker, introduced changes in the CFLAGS generation when merging Emile. While the changes seem to make sense at first sight (add the -I flags for the lib our new package depends on), they were actually a terribly bad workaround. The number of CFLAGS args would grow exponentially, slowing down libtool a lot, which is known to be slow when it has a lot of arguments.
Diffstat (limited to 'm4')
-rw-r--r--m4/efl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/efl.m4 b/m4/efl.m4
index 3d654c9..3598ce7 100644
--- a/m4/efl.m4
+++ b/m4/efl.m4
@@ -152,7 +152,7 @@ case "m4_defn([DOWNOTHER])" in
152 ;; 152 ;;
153esac 153esac
154requirements_pc_[]m4_defn([DOWNEFL])="${depname} >= ${PACKAGE_VERSION} ${requirements_pc_[][]m4_defn([DOWNEFL])}" 154requirements_pc_[]m4_defn([DOWNEFL])="${depname} >= ${PACKAGE_VERSION} ${requirements_pc_[][]m4_defn([DOWNEFL])}"
155requirements_cflags_[]m4_defn([DOWNEFL])="-I\$(top_srcdir)/src/lib/${libdirname} -I\$(top_builddir)/src/lib/${libdirname} ${requirements_cflags_[][]m4_defn([DOWNOTHER])} ${requirements_cflags_[][]m4_defn([DOWNEFL])}" 155requirements_cflags_[]m4_defn([DOWNEFL])="-I\$(top_srcdir)/src/lib/${libdirname} -I\$(top_builddir)/src/lib/${libdirname} ${requirements_cflags_[][]m4_defn([DOWNEFL])}"
156requirements_internal_libs_[]m4_defn([DOWNEFL])="lib/${libdirname}/lib${libname}.la ${requirements_internal_libs_[][]m4_defn([DOWNEFL])}" 156requirements_internal_libs_[]m4_defn([DOWNEFL])="lib/${libdirname}/lib${libname}.la ${requirements_internal_libs_[][]m4_defn([DOWNEFL])}"
157requirements_internal_deps_libs_[]m4_defn([DOWNEFL])="${requirements_public_libs_[]m4_defn([DOWNOTHER])} ${requirements_internal_deps_libs_[][]m4_defn([DOWNEFL])}" 157requirements_internal_deps_libs_[]m4_defn([DOWNEFL])="${requirements_public_libs_[]m4_defn([DOWNOTHER])} ${requirements_internal_deps_libs_[][]m4_defn([DOWNEFL])}"
158m4_popdef([DOWNOTHER])dnl 158m4_popdef([DOWNOTHER])dnl