Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tools
development-tools
manjaro-tools
Commits
7e602830
Commit
7e602830
authored
Aug 16, 2015
by
Ramon Buldó
Committed by
Philip Müller
Aug 17, 2015
Browse files
Update cflags
https://bugs.archlinux.org/task/44361
https://bugs.archlinux.org/task/44362
parent
53d587b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
conf/makepkg-i686.conf
View file @
7e602830
...
...
@@ -19,7 +19,7 @@ DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %
# /usr/bin/lftpget -c
# /usr/bin/wget
#-- The
the
package required by makepkg to download VCS sources
#-- The package required by makepkg to download VCS sources
# Format: 'protocol::package'
VCSCLIENTS
=(
'bzr::bzr'
'git::git'
...
...
@@ -38,8 +38,8 @@ CHOST="i686-pc-linux-gnu"
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS
=
"-D_FORTIFY_SOURCE=2"
CFLAGS
=
"-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -
-param=ssp-buffer-size=4
"
CXXFLAGS
=
"-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -
-param=ssp-buffer-size=4
"
CFLAGS
=
"-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -
fstack-check
"
CXXFLAGS
=
"-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -
fstack-check
"
LDFLAGS
=
"-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
...
...
conf/makepkg-x86_64.conf
View file @
7e602830
...
...
@@ -37,8 +37,8 @@ CHOST="x86_64-unknown-linux-gnu"
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS
=
"-D_FORTIFY_SOURCE=2"
CFLAGS
=
"-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -
-param=ssp-buffer-size=4
"
CXXFLAGS
=
"-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -
-param=ssp-buffer-size=4
"
CFLAGS
=
"-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -
fstack-check
"
CXXFLAGS
=
"-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -
fstack-check
"
LDFLAGS
=
"-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment