aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'sim/Makefile.am')
-rw-r--r--sim/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am
index c6e2d04..f9084d3 100644
--- a/sim/Makefile.am
+++ b/sim/Makefile.am
@@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
AUTOMAKE_OPTIONS = dejagnu foreign no-dist subdir-objects
-ACLOCAL_AMFLAGS = -I.. -I../config
+ACLOCAL_AMFLAGS = -Im4 -I.. -I../config
srcroot = $(srcdir)/..
@@ -24,6 +24,9 @@ SUBDIRS = @subdirs@
MOSTLYCLEANFILES = core
+COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD)
+LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@
+
# Generate nltvals.def for newlib/libgloss using devo and build tree.
# This file is shipped with distributions so we build in the source dir.
# Use `make nltvals' to rebuild.