You are not logged in.

#1 2011-11-27 21:45:34

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

[Q] export *FLAGS in PKGBUILD

hi to everybody,

how FLAGS variables in makepkg.conf file are handle by PKGBUILD ???

by default i shouldn't explicit they in PKGBUILD ?
or i should ???

second this, previous, is a general rule or depend upon the source i'm compiling ???

thanks


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#2 2011-11-27 21:59:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Q] export *FLAGS in PKGBUILD

Offline

#3 2011-11-27 23:58:46

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,658
Website

Re: [Q] export *FLAGS in PKGBUILD

makepkg sources makepkg.conf and exports those variables for you before running the build() function of the PKGBUILD.

Some (crappy) software does ignore those flags when building, but you can usually force them in some way.

Offline

#4 2011-11-28 15:14:57

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [Q] export *FLAGS in PKGBUILD

so, how to check which *FLAGS are used ?

is kernel affected ?


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

Board footer

Powered by FluxBB