You are not logged in.

#1 2016-05-28 10:25:15

HisDudeness
Member
From: Melzo, Milan (Italy)
Registered: 2014-09-29
Posts: 109

[SOLVED] Adding compile options

I'm trying to install aMule with debugging informations, as described in aMule's wiki. Basically, when compiling from source, I'd need to append the flags "--enable-debug --disable-optimize".

I've installed ABS, but I can't understand where and how to add those two options in the PKGBUILD. I know the question is stupid, but I just can't seem to get a grasp at this basic issue.

Last edited by HisDudeness (2016-05-28 10:55:40)


The Dude minds.

Offline

#2 2016-05-28 10:35:44

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,408
Website

Re: [SOLVED] Adding compile options

They are configure flags, so you need to pass them to the ./configure command. Note that amule's PKGBUILD already has "--disable-debug --enable-optimize" flags, so you can just alter these flags instead of adding new ones.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-05-28 10:55:28

HisDudeness
Member
From: Melzo, Milan (Italy)
Registered: 2014-09-29
Posts: 109

Re: [SOLVED] Adding compile options

Oh, thanks a lot! I guess instead of just reading the wiki page on it, I should have opened a real PKGBUILD and read it as well. Quite obvious actually, I feel dumb. Good to know for next time smile

Thanks again, have a good day!


The Dude minds.

Offline

Board footer

Powered by FluxBB