]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-pld.macros
- leave osfmach3_ppc alone
[packages/rpm.git] / rpm-pld.macros
CommitLineData
48cca289
AM
1# Overwrite RPM macros with PLD specific one here.
2
3%_defaultdocdir %{_usr}/share/doc
4
5%_tmppath %(echo "${TMPDIR:-/tmp}")
6%tmpdir %{_tmppath}
7
8%_topdir %(echo $HOME)/rpm
9
10%buildroot %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
11
12%_source_payload w9.gzdio
13%_binary_payload w9.lzdio
14
15%_rpmfc_magic_path /usr/share/file/magic
16
17%_libexecdir %{_exec_prefix}/lib
18%_sysconfdir /etc
19%_sharedstatedir /var/lib
20%_localstatedir /var
21
22
23%_infodir %{_prefix}/share/info
24%_mandir %{_prefix}/share/man
25
26%undefine __scriptlet_requires
27
28%_enable_debug_packages 1
29
30# provides don't obsolete
31%_upgrade_tag name
32
33#-----------------------------------------------------------------
34# CFLAGS and LDFLAGS used to build
35
36%debuginfocflags %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -gdwarf-2 -g2}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
37# -feliminate-dwarf2-dups disabled until PR ld/3290 is fixed.
38
39%debugcflags -O0 -g -Wall
40%optldflags -Wl,--as-needed
41
42# Warning: those macros are overwritten by macros.build,
43# left here for compatibility
44%rpmcflags %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
45%rpmcxxflags %{rpmcflags}
46%rpmldflags %{!?no_build_with_as_needed:-Wl,--as-needed}
47
48# arch macros
49%ix86 i386 i486 i586 i686 pentium3 pentium4 athlon
50%x8664 x86_64 amd64 ia32e
51%ppc ppc ppc7400 ppc7450
52
This page took 0.026655 seconds and 4 git commands to generate.