From a073fb6b1f1c265dc497a9e308dde8bef02b054c Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Wed, 4 Sep 2019 13:42:33 +0200
Subject: [PATCH] gcc recipe: using %{prefix}
---
gcc/recipe.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gcc/recipe.spec b/gcc/recipe.spec
index a3bc2ad..91282de 100644
--- a/gcc/recipe.spec
+++ b/gcc/recipe.spec
@@ -19,8 +19,8 @@ dirname: build
fi
../gcc-%{version}/configure \
- --prefix=/usr \
- --libdir=/usr/lib \
+ --prefix=%{prefix} \
+ --libdir=%{prefix}/lib \
--disable-multilib \
--disable-libssp \
--disable-libmpx \
@@ -32,4 +32,3 @@ dirname: build
--target=x86_64-weird-linux-musl \
--build=x86_64-weird-linux-musl \
--host=x86_64-weird-linux-musl
-