Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
linux:gentoo-spezifisch:make.conf [15.03.2011 12:13] marc angelegt |
linux:gentoo-spezifisch:make.conf [09.07.2013 21:33] (aktuell) |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ===== make.conf ===== | + | ====== make.conf ====== |
+ | |||
+ | ===== 1. Einleitung ===== | ||
+ | |||
+ | FIXME | ||
+ | |||
+ | ===== 2. USE-Flags ==== | ||
+ | |||
+ | FIXME | ||
+ | |||
+ | ===== 3. CFLAGS ===== | ||
+ | |||
+ | Wirklich **sichere** und empfohlene (nach Gentoo-Wiki) CFLAGS sind: | ||
+ | |||
+ | CFLAGS=" | ||
+ | |||
+ | \\ | ||
+ | |||
+ | Um das **graphite-Framework** zu nutzen muss zusätzlich '' | ||
+ | |||
+ | CFLAGS=" | ||
+ | |||
+ | Auf meinem ~amd64 mit GCC-4.6 kompiliert und läuft das graphite-Framework stabil, ohne Wertung der Leistung. | ||
+ | |||
+ | \\ | ||
+ | |||
+ | Für **lto** muss '' | ||
+ | |||
+ | CFLAGS=" | ||
+ | |||
+ | \\ | ||
+ | |||
+ | Abschließend CFLAGS auch als CXXFLAGS setzen: | ||
+ | |||
+ | CXXFLAGS=" | ||
+ | |||
+ | ===== 4. LDFLAGS ===== | ||
+ | |||
+ | Laut Gentoo-Wiki ist es nicht nötig bzw. vollständig **sichere** LDFLAGS zu setzen. Sinnvolle LDFLAGS sind bereits in den entsprechenden Profilen gesetzt. Ich setze ohne feststellbare Probleme / Nachteile: | ||
+ | |||
+ | LDFLAGS=" | ||
+ | |||
+ | **LTO** ist mit GCC-4.5 experimentell und zumindest im 3Q-2010 nicht zu gebrauchen, '' | ||
+ | |||
+ | LDFLAGS=" | ||
+ | |||
+ | FIXME für lto benötigte CFLAGS? | ||
+ | |||
+ | |||
+ | ===== 5. Anhang ===== | ||
+ | |||
+ | Meine make.conf | ||
+ | |||
+ | <file - make.conf> | ||
+ | # These settings were set by the catalyst build script that automatically | ||
+ | # built this stage. | ||
+ | # Please consult / | ||
+ | # detailed example. | ||
+ | ################################################################### | ||
+ | ## CFLAGS ######################################################## | ||
+ | ################################################################### | ||
+ | # really safe: | ||
+ | # CFLAGS=" | ||
+ | # -ftree-vectorize -ftree-loop-linear | ||
+ | |||
+ | CFLAGS=" | ||
+ | |||
+ | CXXFLAGS=" | ||
+ | |||
+ | ################################################################### | ||
+ | ## LDFLAGS ######################################################## | ||
+ | ################################################################### | ||
+ | LDFLAGS=" | ||
+ | ################################################################### | ||
+ | CHOST=" | ||
+ | |||
+ | # These are the USE flags that were used in addition to what is provided by the | ||
+ | # profile used for building. | ||
+ | USE=" | ||
+ | | ||
+ | | ||
+ | gtk gtk3 id3tag introspection jpeg jpeg2k lame laptop libnotify \ | ||
+ | | ||
+ | nntp nsplugin ntfs opengl optimization optimized-qmake pdf pidgin png \ | ||
+ | | ||
+ | sse2 sse3 strong-optimization svg symlink system-cxx-headers \ | ||
+ | | ||
+ | vcd video vorbis wicd wma wmf x264 xv xvid -3dnow -3dnowext -abiword \ | ||
+ | | ||
+ | | ||
+ | -lirc -mercurial -msn -oss -pm-utils -python2 -qt-bundled -qt3support \ | ||
+ | -qt4 -reiser4 -reiserfs -samba -tcl -totem -webdav -webdav-neon \ | ||
+ | | ||
+ | |||
+ | ################################################################### | ||
+ | # | ||
+ | MAKEOPTS=" | ||
+ | EMERGE_DEFAULT_OPTS=" | ||
+ | |||
+ | # | ||
+ | GENTOO_MIRRORS=" | ||
+ | # | ||
+ | |||
+ | SYNC=" | ||
+ | |||
+ | PORTAGE_NICENESS=19 | ||
+ | |||
+ | # | ||
+ | FEATURES=" | ||
+ | DISTDIR="/ | ||
+ | # | ||
+ | PKGDIR="/ | ||
+ | |||
+ | ## Meine eigenen ebuilds | ||
+ | PORTDIR_OVERLAY="/ | ||
+ | ## Layman, muss hinter PORTDIR_OVERLAY stehen! | ||
+ | source / | ||
+ | |||
+ | INPUT_DEVICES=" | ||
+ | |||
+ | # fglrx | ||
+ | VIDEO_CARDS=" | ||
+ | ALSA_CARDS=" | ||
+ | |||
+ | LINGUAS=" | ||
+ | |||
+ | ACCEPT_KEYWORDS=" | ||
+ | |||
+ | ACCEPT_LICENSE=" | ||
+ | |||
+ | I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1 | ||
+ | |||
+ | CLOCK=" | ||
+ | </ |