get flags for objcopy from platform dependent includes