summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirefox-mozconfig1
-rw-r--r--firefox.spec1
2 files changed, 2 insertions, 0 deletions
diff --git a/firefox-mozconfig b/firefox-mozconfig
index b483b48..e932989 100755
--- a/firefox-mozconfig
+++ b/firefox-mozconfig
@@ -1,5 +1,6 @@
. $topsrcdir/browser/config/mozconfig
+ac_add_options --prefix="$PREFIX"
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
diff --git a/firefox.spec b/firefox.spec
index 0656280..15dd0b7 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -151,6 +151,7 @@ removed in favor of xulrunner-devel.
%build
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | %{__sed} s/-O2/-Os/`
+export PREFIX='%{_prefix}'
%ifarch ppc ppc64 s390 s390x
%define moz_make_flags -j1
bgstack15