about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstore/Makefile.am2
-rw-r--r--src/libutil/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/Makefile.am b/src/libstore/Makefile.am
index 6605a76c2064..3e2777f6abd0 100644
--- a/src/libstore/Makefile.am
+++ b/src/libstore/Makefile.am
@@ -6,5 +6,5 @@ libstore_a_SOURCES = \
  globals.cc globals.hh db.cc db.hh \
  references.cc references.hh pathlocks.cc pathlocks.hh
 
-AM_CXXFLAGS = -DSYSTEM=\"@host@\" -Wall \
+AM_CXXFLAGS = -Wall \
  -I.. -I../../externals/inst/include -I../libutil
diff --git a/src/libutil/Makefile.am b/src/libutil/Makefile.am
index 362a6e55cd76..5d91118686e4 100644
--- a/src/libutil/Makefile.am
+++ b/src/libutil/Makefile.am
@@ -3,7 +3,7 @@ noinst_LIBRARIES = libutil.a
 libutil_a_SOURCES = util.cc util.hh hash.cc hash.hh \
  archive.cc archive.hh md5.c md5.h aterm.cc aterm.hh
 
-AM_CXXFLAGS = -DSYSTEM=\"@host@\" -Wall -I.. -I../../externals/inst/include
+AM_CXXFLAGS = -DSYSTEM=\"@system@\" -Wall -I.. -I../../externals/inst/include
 
 check_PROGRAMS = test-aterm