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.2 required=5.0 tests=AWL,BAYES_00, DNS_FROM_OPENWHOIS, SPF_NEUTRAL, UPPERCASE_50_75 autolearn=no version=3.2.5 Message-ID: <4E85A54D.2040408@gmail.com> Date: Fri, 30 Sep 2011 14:17:33 +0300 From: Motsyo Gennadi aka Drool User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: ALT Linux Community general discussions References: <4E70D364.4040307@gmail.com> <4E70E5F4.4090807@gmail.com> <20110929100842.GB11404@altlinux.org> <4E8449C2.40808@mail.ru> <4E844C80.4060907@gmail.com> <4E84510E.7070208@mail.ru> <20110929121608.GB21805@altlinux.org> <4E847000.60902@gmail.com> <4E8473F5.2030905@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Comm] =?utf-8?q?rpm-macros-cmake_=D0=B2_5=2E1?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2011 11:17:46 -0000 Archived-At: List-Archive: List-Post: Сергей Торчук пишет: > %cmake Оно. Вот эту строку попробуйте заменить на вот такую конструкцию: cmake \ -DCMAKE_INSTALL_PREFIX=%prefix \ -DCMAKE_CXX_FLAGS:STRING="%optflags" \ -DCMAKE_C_FLAGS:STRING="%optflags" \ -DLIB_DIR:STRING=%_lib