# Do I need -m32, etc., in compiler flags?

**URL:** <https://discourse.cmake.org/t/do-i-need-m32-etc-in-compiler-flags/13486>\
**Category:** Code\
**Created:** [January 25, 2025, 2:48pm UTC](https://discourse.cmake.org/t/do-i-need-m32-etc-in-compiler-flags/13486 "2025-01-25T14:48:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsalz](https://discourse.cmake.org/user_avatar/discourse.cmake.org/rsalz/32/5179_2.png) [@rsalz](https://discourse.cmake.org/u/rsalz)\
**Post date:** [January 25, 2025, 2:48pm UTC](https://discourse.cmake.org/t/do-i-need-m32-etc-in-compiler-flags/13486/1 "2025-01-25T14:48:56Z")

</div>

I am a cmake newbie; as my first project I am converting a fork of OpenSSL from a bespoke build environment to cmake. I assume that I don’t need to explicitly add things like `-m32`, `-mcpu=sparc`, or `/Zi /Fddso.pdb` when compiling or building shared libraries. Right?
