SoftCreatR / imei

IMEI - ImageMagick Easy Install
ISC License
309 stars 36 forks source link

Option to adjust the CFLAGS #66

Closed s0ar closed 2 years ago

s0ar commented 2 years ago

Hi,

it would be very useful to have an command line option to adjust the CFLAGS.

Currently, in the imei.sh the setting is the following:

CFLAGS="-O3 -march=native" \ CXXFLAGS="-O3 -march=native" \

If this is used in a container environment, there are problems using this container on other hardware. (Illegal instruction).

It would be great to have an option to fall back to -O0 or an expert option could allow setting the cflags to a desired value.