]> git.pld-linux.org Git - packages/lua51.git/commitdiff
- unify dietlibc compile options and calls auto/aidath/lua51-5_1_4-2 auto/ti/lua51-5_1_4-2
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Mar 2009 14:10:51 +0000 (14:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lua51.spec -> 1.12

lua51.spec

index dc09c7ae25ce878a94692998a60f83242026fd78..c76cba3db2fd145dee49ee9f9f9f6b98efade6c0 100644 (file)
@@ -13,7 +13,7 @@ Source0:      http://www.lua.org/ftp/lua-%{version}.tar.gz
 # Source0-md5: d0870f2de55d59c1c8419f36e8fac150
 Patch0:                %{name}-link.patch
 URL:           http://www.lua.org/
-%{?with_luastatic:BuildRequires:       dietlibc-devel}
+%{?with_luastatic:BuildRequires:       dietlibc-static}
 BuildRequires: readline-devel
 BuildRequires: sed >= 4.0
 Requires:      %{name}-libs = %{version}-%{release}
@@ -105,8 +105,8 @@ sed -r -i 's|(#define LUA_CDIR.*)lib/|\1%{_lib}/|g' src/luaconf.h
 %if %{with luastatic}
 %{__make} all \
        PLAT=posix \
-       CC="%{_target_cpu}-dietlibc-gcc" \
-       CFLAGS="%{rpmcflags} -Wall -fPIC -DPIC -D_GNU_SOURCE -DLUA_USE_POSIX"
+       CC="diet %{__cc}" \
+       CFLAGS="%{rpmcflags} -Wall -fPIC -Os -DPIC -D_GNU_SOURCE -DLUA_USE_POSIX"
 mv src/lua lua.static
 mv src/luac luac.static
 %{__make} clean
This page took 0.081342 seconds and 4 git commands to generate.