From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL autolearn=no version=3.2.5 Message-ID: <510520D0.9070206@gmail.com> Date: Sun, 27 Jan 2013 14:42:56 +0200 From: Motsyo Gennadi aka Drool User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "devel@ where you _can_ ask" References: <1359100535.27308.2.camel@localhost.localdomain> <1359102668.27308.9.camel@localhost.localdomain> <5102733E.2010307@gmail.com> <1359137321.14325.1.camel@localhost.localdomain> In-Reply-To: <1359137321.14325.1.camel@localhost.localdomain> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [newbies] =?koi8-r?b?89XdxdPU19XF1CDMySAvdXNyL2xpYjY0ID8=?= X-BeenThere: devel-newbies@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: "devel@ where you _can_ ask" List-Id: "devel@ where you _can_ ask" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 12:43:11 -0000 Archived-At: List-Archive: 25.01.2013 20:08, gBopHuk_alt написав(ла): > В Птн, 25/01/2013 в 13:57 +0200, Motsyo Gennadi aka Drool пишет: >> А может без всякой проверки? >> >> -DCMAKE_INSTALL_PREFIX=/usr \ >> -DLIB_DESTINATION=%_lib > > > Тогда надо вешать багу на rpm-macros-cmake Зачем? Макрос %_lib раскрывается в lib на 32 битах и в lib64 на 64 битах. Он у меня используется при сборке Qmmp, конструкция выглядит так: cmake \ -DCMAKE_INSTALL_PREFIX=%prefix \ -DCMAKE_CXX_FLAGS:STRING="%optflags" \ -DCMAKE_C_FLAGS:STRING="%optflags" \ -DLIB_DIR:STRING=%_lib