From ad930744790f0792c0442a24bd379f27a16f8f66 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 20 Feb 2012 20:27:40 -0500 Subject: Read build flags from system into the environment. --- (limited to 'src') diff --git a/src/opkbuild b/src/opkbuild index 22ea79d..af79e68 100644 --- a/src/opkbuild +++ b/src/opkbuild @@ -148,6 +148,9 @@ export OH_ARCH_CPU OH_ARCH_KERNEL OH_ARCH_LIBS export OH_SRCPKG="${srcpkg}" export OH_PKGVER=${version} +# Set build flags. +. @@DATADIR@@/opkhelper/buildflags/${OH_ARCH_CPU} + # Check build dependencies. oh-checkbuilddeps || error "${srcpkg}-src" -- cgit v0.9.1