On 24.09.2020 21:37, Andres Freund wrote:
Hi,
On 2020-09-24 19:15:22 +0300, Konstantin Knizhnik wrote:
In my extension I want to define some custom options for compiler.
I do it in the following way:
ifdef USE_DISK
CUSTOM_COPT += -DIMCS_DISK_SUPPORT
endif
Why aren't you adding it to PG_CPP
Hi,
On 2020-09-24 19:15:22 +0300, Konstantin Knizhnik wrote:
> In my extension I want to define some custom options for compiler.
> I do it in the following way:
>
> ifdef USE_DISK
> CUSTOM_COPT += -DIMCS_DISK_SUPPORT
> endif
Why aren't you adding it to PG_CPPFLAGS? That should work, and I think
Hi,
In my extension I want to define some custom options for compiler.
I do it in the following way:
ifdef USE_DISK
CUSTOM_COPT += -DIMCS_DISK_SUPPORT
endif
So if I want to enable disk support, I am building my extension as
make USE_DISK=1 clean all install
and it normally works... unless Po