added flags for architectures