Skip to content

Unable to change -march option when building gcc package for libgcc libraries? #20141

Closed Answered by Biswa96
pl752 asked this question in Q&A
Discussion options

You must be logged in to vote

Default compiler flags are set using /etc/makepkg_mingw.conf file. There are some ways you can change those default flags. For example,

  1. edit the cflags and cxxflags in /etc/makepkg_mingw.conf file manually in your system.
  2. disable default compiler flags with options=('!buildflags') in PKGBUILD files individually.
  3. change cflags or cxxflags in PKGBUILD file with setting those variables CFLAGS="something" CXXFLAGS="something".

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pl752
Comment options

@pl752
Comment options

Answer selected by pl752
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants