From: Yuriy Kashirin <yura@emict.com>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] %optflags и qmake
Date: Thu, 25 May 2006 12:42:35 +0300
Message-ID: <200605251242.37871.yura@emict.com> (raw)
In-Reply-To: <200605181521.51047.zerg@altlinux.org>
On Thursday 18 May 2006 14:21, Sergey V Turchin wrote:
> On Thursday 18 May 2006 14:46, Yury Aliaev wrote:
> > Добрый день!
> >
> > В процессе сборки одного из моих пакетов я заметил, что qmake,
> > который там используется, плюёт на CFLAGS и берёт значение флагов
> > компилятора из /usr/lib/qt3/mkspecs/linux-cxx/qmake.conf
> > В частности, там есть такая строчка:
> > QMAKE_CFLAGS_RELEASE = -pipe -Wall -O2 -march=i586 -mcpu=i686
> > -DGLX_GLXEXT_LEGACY
> >
> > Спрашивается, можно ли ему каким-то образом скормить rpm'овские
> > %optflags?
>
> QMAKE_CFLAGS += $$RPM_OPT_FLAGS в .pro-файле
RPM_OPT_FLAGS -- это ведь переменная окружения? Тогда:
QMAKE_CFLAGS += $$(RPM_OPT_FLAGS) (в круглых скобках)
--
Best regards
Yuriy Kashirin
next prev parent reply other threads:[~2006-05-25 9:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 10:46 Yury Aliaev
2006-05-18 11:03 ` Led
2006-05-18 11:49 ` Yury Aliaev
2006-05-18 11:21 ` Sergey V Turchin
2006-05-18 12:30 ` Yury Aliaev
2006-05-25 9:42 ` Yuriy Kashirin [this message]
2006-05-25 10:17 ` Yury Aliaev
2006-05-25 10:47 ` Yuriy Kashirin
2006-05-25 8:37 ` [sisyphus] [devel] " Yury Aliaev
2006-05-25 10:20 ` Sergey V Turchin
2006-05-26 7:54 ` Yury Aliaev
2006-05-26 8:24 ` Yuriy Kashirin
2006-05-26 12:36 ` Yury Aliaev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200605251242.37871.yura@emict.com \
--to=yura@emict.com \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git