13 Dec
2023
13 Dec
'23
14:50
Am Mittwoch, 13. Dezember 2023, 10:30:46 CET schrieb Marcus Meissner:
On Wed, Dec 13, 2023 at 09:25:49AM +0100, Axel Braun wrote:
Good morning,
I try to submit a compiler option like export CFLAGS = -DUSE_X_DOM_SOCKET inside a spec file.
From the wiki it seemed that RPM_OPT_FLAGS=\-DUSE_X_DOM_SOCKET\ would do the job, but that seems not the case.
Whats the correct command?
really depends on what happens after3wards.
export CFLAGS="%optflags -DUSE_X_DOM_SOCKET"
before configure would work usually for configure stuff.
Thank you Adam and Marcus, that fixed it! Cheers Axel