aboutsummaryrefslogtreecommitdiff
path: root/system/openrc/openrc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/openrc/openrc.SlackBuild')
-rw-r--r--system/openrc/openrc.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/openrc/openrc.SlackBuild b/system/openrc/openrc.SlackBuild
index c32e6799cd3c..ea33861b2c73 100644
--- a/system/openrc/openrc.SlackBuild
+++ b/system/openrc/openrc.SlackBuild
@@ -23,6 +23,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220208 bkw: modified by SlackBuilds.org to fix 15.0 build, and to
+# actually use SLKCFLAGS.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openrc
@@ -39,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -93,6 +93,7 @@ MAKEARGS+=(MKTERMCAP=ncurses)
MAKEARGS+=(MKSYSVINIT=no)
MAKEARGS+=(MKBASHCOMP=yes)
MAKEARGS+=(MKZSHCOMP=yes)
+MAKEARGS+=(CFLAGS="$SLKCFLAGS -fcommon")
#MAKEARGS+=(BRANDING="$(cat /etc/slackware-version)")
make "${MAKEARGS[@]}"