Setting cflags per build

my current '/etc/makepkg.conf' is
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
which is global for every manual build right?
but in my customised PKGBUILD
i want to take away '-fomit-frame-pointer' and then add '-g' (for debug and making good backtrace reasons)
will this do it?
'unset' to get rid of the  '-fomit-frame-pointer'
build() {
unset CFLAGS
unset CXXFLAGS
export CFLAGS="-march=athlon-xp -O2 -pipe -g"
export CXXFLAGS="-march=athlon-xp -O2 -pipe -g"
would the CFLAGS to that build be '-march=athlon-xp -O2 -pipe -g' ?
thanks, im still learning.
Last edited by gav616 (2008-09-30 19:13:03)

That should work fine, yes. And you don't have to unset them, the export suffices for overwriting.

Similar Messages

  • How transport profile set in segment builder to other CRM system?

    Hello!
    I create a lot of profile set in segment builder. I using CRM4 and CRM7 wich connected RFC and middleware.
    How  transport profile group from CRM4 to CRM7?
    Edited by: Vladimir Shilov on Dec 19, 2010 11:08 AM

    Dear Thomas,
       Did this get solved?
    Thank you,
    -Vijay

  • [svn:fx-trunk] 11479: Tweak the Spark project settings so that builder shows MX+spark setting in the build path .

    Revision: 11479
    Author:   [email protected]
    Date:     2009-11-05 13:47:44 -0800 (Thu, 05 Nov 2009)
    Log Message:
    Tweak the Spark project settings so that builder shows MX+spark setting in the build path.
    QE notes: None
    Doc notes: None
    Bugs: None
    Reviewer: Glenn
    Tests run: FB builds spark project
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/development/eclipse/flex/spark/.actionScriptProperties

    Thats good news.

  • [svn:fx-trunk] 11541: Fix the textLayout build number that is set in the main build. xml to match what will be set when the build machine does NOT do the build

    Revision: 11541
    Author:   [email protected]
    Date:     2009-11-06 14:29:41 -0800 (Fri, 06 Nov 2009)
    Log Message:
    Fix the textLayout build number that is set in the main build.xml to match what will be set when the build machine does NOT do the build
    QE notes: no
    Doc notes: no
    Bugs: no
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/air-config.xml
        flex/sdk/trunk/frameworks/flex-config.xml

    Thats good news.

  • "Must set src.dir"  BUILD FAILED on JSC

    Hy!
    I am using Ubuntu 7.04 + CVS + Java Studio Creator 2
    I am developing a J2EE Web Application and I got a error that I couldn't resolve!
    /home/mario/cvs3/sco/nbproject/build-impl.xml:92: Must set src.dir
    BUILD FAILED (total time: 0 seconds)
    Inside of build-imp.xml we have at 92 line:
    <fail unless="src.dir">Must set src.dir</fail>
    What should I do to fix it?
    I will be gratefull for any help!
    Thanks!
    Mario Mol

    Hi,
    i am having the same problem.
    I used NetBeans IDE 6.0 on Windows XP/sp2 for the first time today and on compile
    gave me the same error.
    Did you find the solution?
    Thanks,
    -srinivas yelamanchili

  • Can I set CFLAGS="-march=broadwell" optimizations in /etc/makepkg.conf

    Hi
    does the Arch Build System allow the new compiler optimizations
    -march=broadwell
    to be set as CFLAGS and CXXFLAGS in /etc/makepkg.conf?
    I recently installed Arch on a machine having this processor (an Intel Broadwell NUC) and I was wondering if I should change CFLAGS from the generic "x86-64" to the more specific broadwell setting. As far as I understood gcc > 4.9 does support this.
    What else needs to be adjusted in Arch in order to use this optimizations?
    Thanks
    gen2arch

    Thanks everyone for your input!
    graysky: actually the linux kernel is exactly the package in view of which I was looking into the Arch Build System; having come over from gentoo, I thought it would be a good idea to streamline the generic arch kernel and, in the process, apply processor specific optimizations. So your point that precisely the kernel doesn't honor these settings is indeed very helpful!
    Against which sources do I have to apply your patch: actually, where can I download the source package of Arch linux' own kernel build?
    Thanks again
    gen2arch

  • Problem setting up Flash Builder to build an ANE

    I am a native android developer trying to build an Air Native Extension for some flash developers. I don't know much of anything about flash, flex, AS, or other adobe technologies. The setup of Flash Builder is driving me insane. I followed the advice in Developing and using Adobe AIR native extensions for Android devices | Adobe Developer Connection the best I could (matching SDK versions even if they are old) but I am getting the following error when building the ANESampleTest (Flex Mobile AIR) project:
    Namespace 3.6 in the application descriptor file should be equal or higher than the minimum version 13.0 required by the Flex SDK
    Again, I am NOT an adobe developer. The version 3.6 vs 13.0 is a pretty weird comparison, but I guess 3.6<13.0 and I'm guessing someone in marketing somewhere decided to renumber things. At this point I'm so disoriented by the install, sdk update, and sdk 'overlay' that I have no idea what component is popping this error or where to look for the problem.
    What does this error mean and what is the next step toward resolving it?  Please treat me like a total noob because I do not know about the difference between flash/flex/air and what their respective versions are.
    Thanks! 
    <moved from downloading,installing, setting up - kglad>

    The fix: Change the namespace on the second line of <project root>/src/ANESampleTest-app.xml
    FROM:   <application xmlns="http://ns.adobe.com/air/application/3.6">
    TO:   <application xmlns="http://ns.adobe.com/air/application/13.0">
    A brief and incomplete background:
    The file <project root>/src/ANESampleTest-app.xml is the ‘application descriptor file’. When using the project files downloaded with the tutorial (that contained the 3.6 reference), the builder did not find this compatible with the configuration on my computer (a trial version I installed today - 5/3/2014 - and patched according to the tutorial). I never did figure out how to lookup valid namespaces and am still confused about how all the sdk’s relate to each other. I stumbled upon this solution by creating a fresh new project and found that the namespace specified by the new project wizard was “13.0” on this line of this file.

  • Help setting up Flash Builder 4.5 for PHP

    I am looking for a concise set of steps for setting up ALL requirements for running Flash Builder 4.5 for PHP.  I have been fighting for three days to get the TestDrive example up and running, with no success.  At every step of the way I have encountered problems.  I fought for a day and a half with MySQL.  Then I fought for another day with PHP (Liip).  Then I fought for another day with Zend.  All along the way I have fought problems with Flash Builder and Flash Builder for PHP.  I've had to relearn all of my UNIX shell commands (it's been a few years).  I've tried using a remote server at 000webhost.com.  I've tried using an old laptop for a server.  I finally ended up trying to do it all on my main laptop.  I have completely given up and am ready to dump my project altogether.  Forget my students.  They'll just have to live without what would have been a fantastic new way of learning.
    HELP!!!

    Hi There,
    I do not have a 'concise' answer for you - in fact I am not using FB 4.5 for PHP.  I started using FB 4  around 8 months ago.  I installed a 'WAMP' thing, called 'EasyPHP'.  That actually went pretty smoothly.  I did the whole thing on my personal laptop running Windows 7.  I 'hooked up' FB to the PHP side using the built in data services wizards and such, as I imagine you are trying to do.  I too had to 'fight' a bit, but found most of the answers scattered around the Internet.  Had to tweak a few settings here and there in various files, and viola, it worked.
    I have resisted upgrading to 4.5, and especially the 4.5 "for" PHP, only becuase of the great expense.  It seems like a lot of money to pay for 'integrated, round-trip debugging'.  I already can debug the PHP side 'independently' of the FB side (from inside the Eclipse+PHP plugin free toolset), which, for most SQL situations is good enough. I simply set up a 'test page' in PHP and use that to 'call' the various functions I write.
    On the FB side, I gave up on using the 'built in data services wizard thingies' because they simply could not get the data-type mappings correct between the two sides.  Also, the "value objects" things (really just a fancy data-object class definition) seeme overly complex and inflexible, i.e., they would re-code themselves after every change I made to the PHP side.  I prefer a more 'lean' approach, and one that I control 100%.  So far I am able to do everything I need using my own 'value objects' (simple classes).
    So...as you can see, I may not be able to help much, but, if you can explain some of the details of what is failing, maybe I can provide a bit of assistance.  From what I understand, the big difference between 4.5 and 4.0, at least on the PHP side, is that the 'introspector' is a bit more accurate now and of couse there is the 'round-trip' debugging and 'awareness of each other's objects/definitions' while in PHP or FB.
    Finally, as best I can tell, after 8 months of 'experimenting' with Flex and PHP, there are simply not many people doing it, or, at least not that many doing it that participate on this forum and who have practical experience, especially with the more 'recent' releases, i.e., 4.0, 4.5.  I would encourage you to scan the rest of the Internet...there *is* knowledge out there...but it can difficult and slow to get.
    -David

  • Font Color Setting of Report Builder Previewer

    When I run the report via Report Builder (version 6.0.8.24.0), the color of font in the Previewer is rather pale though i have set the font color as Black. Would you please advise? Thanks.

    When I run the report via Report Builder (version
    6.0.8.24.0), the color of font in the Previewer is
    rather pale though i have set the font color as
    Black. Would you please advise? Thanks.The destype is "Previewer" and Desformat is "Wide" and mode is "Character"

  • How to keep pen and brush's setting as per layer

    Hi , is there anyway to keep the pen and brush setting remember as per layer , let say i have 2 layers of different stroke setting , after i draw 1 to another , it always revert to 1pt stroke width automatically .
    i want to keep all the setting : transparency , color , stroke width to be remembered in layer . Therefore, i dont need to change again or remember whenever i draw in between layers.
    Thanks in advance .

    Brushes have nothing to do with Layers. So no, you can't associate/restrict a given Brush to a given Layer. However, you can:
    1. New document. Define two Layers.
    2. Brush Tool: Draw something on Layer 1 with a Brush.
    3. Brush Tool: Draw something on Layer 2 with a different Brush.
    4. Appearance Palette: Set the New Art button to Maintains Appearance.
    5. Press Ctrl to momentarily invoke the black pointer. Select the path you drew on Layer 1. Layer 1 becomes the active Layer and the Appearance of the object you select becomes the current Appearance.
    6. Release Ctrl and draw anothet path. It is on Layer 1 and has the same Appearance of other items on Layer 1.
    7. Press Ctrl, select an object on Layer 2.
    8. Release Ctrl, draw another stroke on Layer 2.
    ...and so on.
    JET

  • Setting Up To Build and Deploy Tutorial Examples

    J2EE Tutorial page 113
    You must configure your environment
    and the tutorial properties files as follows:
    � Add<JAVA_HOME>/bin to the front of your path.
    path=C:\j2sdk1.4.2\bin;......
    � Add<J2EE_HOME>/bin and <J2EE_HOME>/share/bin to the front of your
    path so that J2EE 1.4 Application Server components overrides other
    installations.
    path=C:\j2sdk1.4.2\bin;C:\j2sdkee1.3.1\bin;C:\Sun\studio_5\appserver7\bin;
    C:\Sun\studio_5\appserver7\share\bin;......
    Note: the appserver 7 directory structure has a share\bin NOT J2EE_Home!
    � Set the j2ee.home property in the file <INSTALL>/j2eetutorial14/
    examples/common/build.properties to the location of your J2EE 1.4
    Application Server installation. The build process uses the j2ee.home
    property to include the J2EE library archives in the classpath. The J2EE
    library archive is the file <J2EE_HOME>/lib/j2ee.jar. If you wish to use
    an IDE or the javac compiler to compile J2EE applications, you must add
    this JAR to your classpath.
    Now, the j2ee.home property is not the home of j2ee but the location of the
    appserver 7???
    The file <J2EE_HOME>/lib/j2ee.jar is not in th appserver 7 directory.
    The file <J2EE_HOME>/lib/j2ee.jar is in C:\j2sdkee1.3.1\lib\j2ee.jar
    I have a j2re 1.4.1, an j2sdkee1.3.1 and j2sdk1.4.2.
    classpath
    E:\Program Files\Java\j2re1.4.2\bin;
    C:\j2sdkee1.3.1\bin;
    C:\j2sdkee1.3.1\lib\j2ee.jar
    C:\j2sdk1.4.2\bin;
    C:\oracle_Dev\jlib\bigraphbean.jar;
    C:\oracle_Dev\jlib\LW_PfjBean.jar;
    C:\oracle_Dev\jlib\bigraphbean-nls.zip;
    C:\oracle\ora90\jdbc\lib\classes12.zip;
    C:\oracle\ora90\sqlj\lib\translator.zip;
    C:\oracle\ora90\sqlj\lib\runtime.zip;
    C:\oracle\ora90\jdbc\lib
    path
    C:\j2sdk1.4.2\bin;
    C:\j2sdkee1.3.1\bin;
    C:\oracle_Dev\jdk\jre\bin\classic;
    C:\oracle_Dev\jdk\jre\bin;
    C:\oracle_Dev\bin;
    C:\oracle_Dev\jlib;
    E:\Program Files\Oracle\jre\1.3.1\bin;
    C:\oracle\ora90\bin;
    C:\oracle\ora90\Apache\Perl\5.00503\bin\mswin32-x86;
    E:\Program Files\Oracle\jre\1.1.8\bin;
    %SystemRoot%\system32;
    %SystemRoot%;%SystemRoot%\System32\Wbem;
    C:\oracle\ora90\LIB;
    C:\Sun\studio_5\appserver7\bin;
    C:\Sun\studio_5\appserver7\share\bin

    found the following information:
    C:\Sun\studio_5\appserver7\domains\domain1\server1\config\server.xml
    Note: java-home, server-classpath and ${java.home}
    This looks and smells like the documentation is asking for.
    <java-config
    java-home="C:/Sun/studio_5/appserver7/jdk"
    server-classpath="C:/Sun/studio_5/appserver7/lib/appserv-rt.jar;
    ${java.home}/lib/tools.jar;
    C:/Sun/studio_5/appserver7/lib/appserv-ext.jar;
    C:/Sun/studio_5/appserver7/lib/appserv-cmp.jar;
    C:\Sun\studio_5\appserver7\share\lib/mail.jar;
    C:/Sun/studio_5/appserver7/lib/appserv-ideplugin.jar;
    C:\Sun\studio_5\appserver7\imq\lib/imq.jar;
    C:\Sun\studio_5\appserver7\imq\lib/jaxm-api.jar;
    C:\Sun\studio_5\appserver7\imq\lib/imqadmin.jar;
    C:\Sun\studio_5\appserver7\imq\lib/imqutil.jar;
    C:/Sun/studio_5/appserver7/lib/appserv-admin.jar;
    C:\Sun\studio_5\appserver7\share\lib/jaxrpc-impl.jar;
    C:\Sun\studio_5\appserver7\share\lib/jaxrpc-api.jar;
    C:\Sun\studio_5\appserver7\share\lib/jaxr-impl.jar;
    C:\Sun\studio_5\appserver7\share\lib/jaxr-api.jar;
    C:\Sun\studio_5\appserver7\share\lib/activation.jar;
    C:\Sun\studio_5\appserver7\share\lib/saaj-api.jar;
    C:\Sun\studio_5\appserver7\share\lib/saaj-impl.jar;
    C:\Sun\studio_5\appserver7\share\lib/commons-logging.jar;
    C:\Sun\studio_5\appserver7\imq\lib/fscontext.jar;
    C:\Sun\studio_5\appserver7\imq\lib/providerutil.jar;
    C:/Sun/studio_5/appserver7/lib/appserv-jstl.jar"
    classpath-suffix="C:/Sun/studio_5/appserver7/pointbase/client_tools/lib/pbclient42RE.jar"
    env-classpath-ignored="true"
    debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n"
    debug-enabled="false"
    javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g">

  • Can you set samples per trigger for sound vi?

    Hi,
    I've been looking at both Matlab and LabVIEW for acquiring sound through a PC sound card. In Matlab you can change the sampling rate (8000, 11025, etc), the buffer size and the samples per trigger. In LabVIEW I noticed you can only change the first two using the SI VIs. How would I go about changing the samples per trigger?

    Hello,
    Could you describe your application and what you are trying to trigger? You can look at all the sound VIs in the advanced section of the function pallette and you can click on any VI and get the context help by pressing ctrl H. That will give some information on the way the VIs are set up and the features they include.
    Good luck and have a great day!
    Koninika
    National Instruments.

  • Optimizing PP performance/setting for my build

    Hi everyone,
    I'd really appreciated recommended PP setting/project settings for my pc build:
    i7 4790 3,6 to 4,0 Ghz
    32 GB RAM 1866 Mhz
    GTX 970 4 GB VRAM
    128 GB SSD for OS, Apps
    256 GB SSD for Cache and Preview
    512 GB SSD for Media footage, Projects, Auto-Save
    1 TB WD 7.200 Backup and Exports
    Windows 7 Prof.
    latest Nvidia drivers
    latest AE CC 2014 version
    Thank you in advance for help.
    Best,
    Alex

    See this page for resources about making After Effects work faster: http://adobe.ly/eV2zE7
    See this page for information about memory and improving performance in After Effects: http://adobe.ly/dC0MdR
    See this page for information about hardware for After Effects: http://adobe.ly/pRYOuk

  • Where do you set bits per sample from 16 to 24 bits in 5.1.

    When making a 5.1 and compressor I seem to have a problem setting the bits per sample. It seems to be locked in at 16 bits I would like to set it to 24. Cannot seem to find where to set it up.

    HI James, just a thought, I think you'll be abe to specify this in the Copressor.app V4.1 Inspector with that batch sub-item selected.
    Try this.
    in Compressor.app V4.1 UI "Current" select the subitem that you want to deal with.
    Open the inspector (+4, command+4)
    select the AUDIO tab in the inspector (right hand side upp screen)
    Scroll down to: Audio Properties and there might be something there that has "Sample Size" or similar.
    See if that works.
    Post your reults for others to see.
    Warwick
    Hong Kong

  • How to Set up Flash builder to build Air Mobile Apps

    Cannot find a decent tutorial how to install the sdk etc for Flash Builder.
    Does anyone know of an easy to follow guide?
    Or Can tell me how?

    Oh Come on this is so easy to answer.
    I'm so confused by all the out of date adobe labs tutorials, and this massive burrito thing.

Maybe you are looking for

  • Why Apple TV? Can I just connect my iPad to my TV?

    I'm really only using my Apple TV to watch Netflix and purchas the occasional movie.  Couldn't I save the $99 and just connect my iPad to my TV and do the same?  Thanks!

  • Acrobat Pro 9 with Mozilla Firefox....plugin?

    I am running Acrobat Pro 9 on my Windows Vista laptop. I noticed when I installed it , it automatically installed a plugin for Internet Explorer, that allows selection of frames on a webpage and then converted and saved as .pdf files. Is there a simi

  • Preview doesn't show images, while Acrobat does

    I have a pdf file that has many images.  on Preview, it only shows black outline where the image should be, but the image itself is blank. but when I open the same document using Acrobat, the image appears. any idea why this is happening? 

  • MacBook and Windows

    Hey, I have been browsing the forums, particularly this section for quite a while now. Some information has been useful, but I kind-of need some specific advice now. I've been a Windows user since May this year when I got the new 2.4GHz MacBook. Mac

  • Help, logo created in CS4 copying weird in CS6!! really stuck, Please help!

    I apologize for re posting this, but im trying to get some new help for my problem. I have created a logo in CS4 years ago, i need to work on it in CS6. You can see the problem here: http://www.bellwoodbnb.ca/1.html When i open: http://www.bellwoodbn