Changeset f4302700
- Timestamp:
- 03/04/2021 09:56:47 AM (3 years ago)
- Branches:
- 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- f3634b6
- Parents:
- 5d2965c
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/clisp.xml
r5d2965c rf4302700 113 113 114 114 <screen><userinput remap="pre">case $(uname -m) in 115 i?86) export CFLAGS +=-falign-functions=4;;115 i?86) export CFLAGS="${CFLAGS:--O2 -g} -falign-functions=4" ;; 116 116 esac</userinput></screen> 117 117 -
gnome/applications/evince.xml
r5d2965c rf4302700 129 129 </para> 130 130 131 <screen><userinput remap="pre">export CFLAGS="$CFLAGS -I/opt/texlive/&texlive-year;/include" && 132 export CXXFLAGS="$CXXFLAGS -I/opt/texlive/&texlive-year;/include" && 131 <screen><userinput remap="pre">export CPPFLAGS="-I/opt/texlive/&texlive-year;/include" && 133 132 export LDFLAGS="$LDFLAGS -L/opt/texlive/&texlive-year;/lib"</userinput></screen> 134 133 … … 175 174 --> 176 175 177 <!-- When moving to Meson, I installed the whole texlive suite from source. 178 I was able to verify that this is no longer required. I'm assuming it was 179 one of evince-3.36.3 or texlive-2020 that fixed this. 180 <para> 181 <parameter>CFLAGS="$CFLAGS ..." CXXFLAGS="$CXXFLAGS ..." LDFLAGS="$LDFLAGS ..."</parameter>: If 176 <para> 177 <parameter>CPPFLAGS="..." LDFLAGS="$LDFLAGS ..."</parameter>: If 182 178 <application>TeXLive</application> has been installed in 183 179 <filename class="directory">/opt/texlive-&texlive-year;</filename> the … … 188 184 build. 189 185 </para> 190 --> 186 191 187 <para> 192 188 <parameter>-Dgtk_doc=false</parameter>: This switch disables generating -
multimedia/libdriv/audiofile.xml
r5d2965c rf4302700 103 103 </para> 104 104 105 <screen><userinput>CXXFLAGS= -std=c++98\105 <screen><userinput>CXXFLAGS="${CXXFLAGS:--O2 -g} -std=c++98" \ 106 106 ./configure --prefix=/usr --disable-static && 107 107 -
multimedia/libdriv/liba52.xml
r5d2965c rf4302700 94 94 --enable-shared \ 95 95 --disable-static \ 96 CFLAGS=" -g -O2$([ $(uname -m) = x86_64 ] && echo -fPIC)" &&96 CFLAGS="${CFLAGS:--g -O2} $([ $(uname -m) = x86_64 ] && echo -fPIC)" && 97 97 make</userinput></screen> 98 98 -
multimedia/libdriv/libmusicbrainz.xml
r5d2965c rf4302700 114 114 <screen><userinput>patch -Np1 -i ../libmusicbrainz-&libmusicbrainz-version;-missing-includes-1.patch && 115 115 116 CXXFLAGS= -std=c++98\116 CXXFLAGS="${CXXFLAGS:--O2 -g} -std=c++98" \ 117 117 ./configure --prefix=/usr --disable-static && 118 118 make</userinput></screen> -
multimedia/videoutils/vlc.xml
r5d2965c rf4302700 231 231 <!-- 232 232 <screen><userinput>sed -i '/vlc_demux.h/a #define LUA_COMPAT_APIINTCASTS' modules/lua/vlc.h &&--> 233 <screen><userinput>export LUAC=/usr/bin/luac5.2 &&234 export LUA_LIBS="$(pkg-config --libs lua52)" &&235 export C FLAGS="$(pkg-config --cflags lua52)" &&233 <screen><userinput>export LUAC=/usr/bin/luac5.2 && 234 export LUA_LIBS="$(pkg-config --libs lua52)" && 235 export CPPFLAGS="$(pkg-config --cflags lua52)" && 236 236 237 237 BUILDCC=gcc ./configure --prefix=/usr \ -
networking/netprogs/ntp.xml
r5d2965c rf4302700 136 136 Its a "hack" for gcc-10 137 137 --> 138 <screen><userinput>./configure CFLAGS=" -O2 -g -fPIC -fcommon $CFLAGS" \138 <screen><userinput>./configure CFLAGS="${CFLAGS:--O2 -g} -fPIC -fcommon" \ 139 139 --prefix=/usr \ 140 140 --bindir=/usr/sbin \ -
networking/netprogs/samba.xml
r5d2965c rf4302700 186 186 </para> 187 187 188 <screen revision="sysv"><userinput>C FLAGS="-I/usr/include/tirpc"\188 <screen revision="sysv"><userinput>CPPFLAGS="-I/usr/include/tirpc" \ 189 189 LDFLAGS="-ltirpc" \ 190 190 ./configure \ … … 200 200 make</userinput></screen> 201 201 202 <screen revision="systemd"><userinput>C FLAGS="-I/usr/include/tirpc"\202 <screen revision="systemd"><userinput>CPPFLAGS="-I/usr/include/tirpc" \ 203 203 LDFLAGS="-ltirpc" \ 204 204 ./configure \ -
postlfs/filesystems/sshfs.xml
r5d2965c rf4302700 96 96 <sect2 role="installation"> 97 97 <title>Installation of Sshfs</title> 98 <!--99 <para>100 If you are building on i686, <application>sshfs</application> needs101 an extra CFLAGS setting to be defined. This prevents an integer102 overflow. To do this, run the following command:103 </para>104 105 <screen><userinput>if [ $(uname -m) = "i686" ]; then106 export CFLAGS+="-D_FILE_OFFSET_BITS=64";107 fi</userinput></screen>108 -->109 98 110 99 <para> -
pst/sgml/openjade.xml
r5d2965c rf4302700 115 115 </para> 116 116 117 <screen><userinput>export CXXFLAGS="$ CXXFLAGS-fno-lifetime-dse" &&117 <screen><userinput>export CXXFLAGS="${CXXFLAGS:--O2 -g} -fno-lifetime-dse" && 118 118 ./configure --prefix=/usr \ 119 119 --mandir=/usr/share/man \ -
server/mail/dovecot.xml
r5d2965c rf4302700 135 135 </para> 136 136 137 <screen revision="sysv"><userinput>C FLAGS+="-I/usr/include/tirpc" \137 <screen revision="sysv"><userinput>CPPFLAGS="-I/usr/include/tirpc" \ 138 138 LDFLAGS+=" -ltirpc" \ 139 139 ./configure --prefix=/usr \ … … 145 145 make</userinput></screen> 146 146 147 <screen revision="systemd"><userinput>C FLAGS+="-I/usr/include/tirpc" \147 <screen revision="systemd"><userinput>CPPFLAGS="-I/usr/include/tirpc" \ 148 148 LDFLAGS+=" -ltirpc" \ 149 149 ./configure --prefix=/usr \ … … 174 174 175 175 <para> 176 <command>C FLAGS+=...LDFLAGS+=...</command>: build with libtirpc176 <command>CPPFLAGS=... LDFLAGS+=...</command>: build with libtirpc 177 177 instead of the recently removed RPC code provided by GlibC. 178 178 </para> -
x/dm/lightdm.xml
r5d2965c rf4302700 262 262 <command>configure</command> throws an error if it is not found on the 263 263 system. This parameter prevents the error. 264 </para>265 266 <para>267 <parameter>CFLAGS=...</parameter>: those two switches ensures some268 warnings are not treated as errors.269 264 </para> 270 265 -
x/lib/gtkmm2.xml
r5d2965c rf4302700 116 116 </sect2> 117 117 118 <!-- as of 2.24.5, this is no longer needed. -renodr119 <sect2 role="commands">120 <title>Command Explanations</title>121 122 <para>123 <command>CXXFLAGS="-g -O2 -std=c++11" ./configure...</command>: while124 Gtkmm->kmm2-version; has not yet been ported to the 2011 ISO C++125 standard, all its dependencies have. <command>-std=c++11</command> has126 to be used as an option to <command>g++</command>. We pass it into127 <envar>CXXFLAGS</envar> together with the default options.128 </para>129 130 </sect2>131 -->132 133 118 <sect2 role="content"> 134 119 <title>Contents</title> -
xsoft/other/thunderbird.xml
r5d2965c rf4302700 186 186 ac_add_options --with-system-nss 187 187 ac_add_options --with-system-icu 188 <!--Not with libvpx-1.8.0 or later189 ac_add_options - -with-system-libvpx190 ====191 These do not seem to be needed any more192 # Set CFLAGS and CXXFLAGS to prevent segfaults due to aggressive193 # optimizations in GCC-6:194 export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"195 export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"196 -->197 188 # The elf-hack causes failed installs on some machines. 198 189 # It is supposed to improve startup time and it shrinks libxul.so -
xsoft/other/tigervnc.xml
r5d2965c rf4302700 179 179 autoreconf -fiv && 180 180 181 C FLAGS="$CFLAGS -I/usr/include/drm"\181 CPPFLAGS="-I/usr/include/drm" \ 182 182 ./configure $XORG_CONFIG \ 183 183 --disable-xwayland --disable-dri --disable-dmx \
Note:
See TracChangeset
for help on using the changeset viewer.