summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:50:57 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:50:57 +0000
commit6f27a7fc6c8471534c5cee39cffdc2def1388bdc (patch)
treebcf6145945cff4c721ffc1f9256bffe43e965069 /buildlib
parenta246f2dc8c6084d857edb2792ce6b37c794e3d69 (diff)
Sync
Author: jgg Date: 1998-09-12 02:46:25 GMT Sync
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/defaults.mak2
-rw-r--r--buildlib/environment.mak.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/buildlib/defaults.mak b/buildlib/defaults.mak
index e9e7546fe..a70d4acd8 100644
--- a/buildlib/defaults.mak
+++ b/buildlib/defaults.mak
@@ -95,7 +95,7 @@ $(INCLUDE)/%.h $(addprefix $(INCLUDE)/,$(addsuffix /%.h,$(HEADER_TARGETDIRS))) :
# makedep program that can be called after compiling, that's illistrated
# by the DEPFLAG case.
# Compile rules are expected to call this macro after calling the compiler
- ifdef INLINEDEPFLAG
+ifdef INLINEDEPFLAG
define DoDep
sed -e "1s/.*:/$(subst /,\\/,$@):/" $(basename $(@F)).d > $(DEP)/$(basename $(@F)).d
-rm -f $(basename $(@F)).d
diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in
index 3166c2e7f..4f001cc97 100644
--- a/buildlib/environment.mak.in
+++ b/buildlib/environment.mak.in
@@ -3,7 +3,7 @@
# C++ compiler options
CC = @CC@
-CPPFLAGS+= @CPPFLAGS@ @DEFS@
+CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT
CXX = @CXX@
CXXFLAGS+= @CXXFLAGS@ @X_CFLAGS@