summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-10-07 14:55:21 +0200
committerAdam Tkac <atkac@redhat.com>2010-10-07 14:55:21 +0200
commit5856f09a63935717602276484314801d61622f51 (patch)
treea815fc57521ae552e94ef15e56d371183de3d633
parent531ba12e2a7e1d710a9dc06c1f081082eeb5df18 (diff)
downloadbind-5856f09a63935717602276484314801d61622f51.tar.gz
bind-5856f09a63935717602276484314801d61622f51.tar.xz
bind-5856f09a63935717602276484314801d61622f51.zip
Disable parallel build of lib/export/isc/libisc.la.
Signed-off-by: Adam Tkac <atkac@redhat.com>
-rw-r--r--bind.spec2
-rw-r--r--bind97-exportlib.patch14
2 files changed, 16 insertions, 0 deletions
diff --git a/bind.spec b/bind.spec
index 649a3ae..147527e 100644
--- a/bind.spec
+++ b/bind.spec
@@ -58,6 +58,7 @@ Patch106:bind93-rh490837.patch
Patch107:bind97-dist-pkcs11.patch
Patch109:bind97-rh478718.patch
Patch110:bind97-rh570851.patch
+Patch111:bind97-exportlib.patch
# SDB patches
Patch11: bind-9.3.2b2-sdbsrc.patch
@@ -290,6 +291,7 @@ mkdir m4
%patch107 -p1 -b .dist-pkcs11
%patch109 -p1 -b .rh478718
%patch110 -p1 -b .rh570851
+%patch111 -p1 -b .exportlib
# Sparc and s390 arches need to use -fPIE
%ifarch sparcv9 sparc64 s390 s390x
diff --git a/bind97-exportlib.patch b/bind97-exportlib.patch
new file mode 100644
index 0000000..70f7c72
--- /dev/null
+++ b/bind97-exportlib.patch
@@ -0,0 +1,14 @@
+diff -up bind-9.7.2-P2/lib/export/isc/Makefile.in.exportlib bind-9.7.2-P2/lib/export/isc/Makefile.in
+--- bind-9.7.2-P2/lib/export/isc/Makefile.in.exportlib 2010-10-07 14:42:09.563655036 +0200
++++ bind-9.7.2-P2/lib/export/isc/Makefile.in 2010-10-07 14:42:16.923651967 +0200
+@@ -101,6 +101,10 @@ SRCS = @ISC_EXTRA_SRCS@ \
+
+ LIBS = @LIBS@
+
++# Note: the order of SUBDIRS is important.
++# Attempt to disable parallel processing.
++.NOTPARALLEL:
++.NO_PARALLEL:
+ SUBDIRS = include unix nls @ISC_THREAD_DIR@
+ TARGETS = timestamp
+