|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../flex/disable-tests.patch # Copyright (C) 2016 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END ---
Due to automake stupidity the Makefile in tests/ has an 'all' target that depends on $(BUILD_SOURCES), which means when building flex parts of the test suite are built even if they're not needed, resulting in flex needing flex-native and bison-native to build.
This patch removes the tests directory from SUBDIRS and will be conditionally applied by the recipe.
Upstream-Status: Inappropriate Signed-off-by: Ross Burton <ross.burton@intel.com>
diff --git a/Makefile.am b/Makefile.am
index 076ccad..0574d7b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,3 +55,2 @@ SUBDIRS = \
po \ - tests \
tools
|