diff options
author | P. J. McDermott <pjm@nac.net> | 2012-02-20 20:27:40 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-02-20 20:27:40 (EST) |
commit | ad930744790f0792c0442a24bd379f27a16f8f66 (patch) | |
tree | 8ec91f7673dd65a19d7e041b09b22547e891eeb5 | |
parent | 697fb3053991c5fd03e0d89f1a739c1917d160c2 (diff) |
Read build flags from system into the environment.
-rw-r--r-- | src/opkbuild | 3 |
1 files changed, 3 insertions, 0 deletions
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" |