diff options
author | Jean-Philippe ANDRE <jpeg@videolan.org> | 2015-03-25 11:19:53 -0700 |
---|---|---|
committer | Jean-Philippe ANDRE <jpeg@videolan.org> | 2015-03-25 11:56:44 -0700 |
commit | f30c0ea3997e92d527d662cd9e33e76ed3fe0343 (patch) | |
tree | d9898dd9c1a252f5c2c78bdcc7b4fe892d66adb7 /m4 | |
parent | 62b5ca7060ad748a5e82a4f3f7f0d644f2ef626e (diff) | |
download | efl-f30c0ea3997e92d527d662cd9e33e76ed3fe0343.tar.gz |
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.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,7 @@ case "m4_defn([DOWNOTHER])" in ;; esac requirements_pc_[]m4_defn([DOWNEFL])="${depname} >= ${PACKAGE_VERSION} ${requirements_pc_[][]m4_defn([DOWNEFL])}" -requirements_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])}" +requirements_cflags_[]m4_defn([DOWNEFL])="-I\$(top_srcdir)/src/lib/${libdirname} -I\$(top_builddir)/src/lib/${libdirname} ${requirements_cflags_[][]m4_defn([DOWNEFL])}" requirements_internal_libs_[]m4_defn([DOWNEFL])="lib/${libdirname}/lib${libname}.la ${requirements_internal_libs_[][]m4_defn([DOWNEFL])}" requirements_internal_deps_libs_[]m4_defn([DOWNEFL])="${requirements_public_libs_[]m4_defn([DOWNOTHER])} ${requirements_internal_deps_libs_[][]m4_defn([DOWNEFL])}" m4_popdef([DOWNOTHER])dnl |