Fix pch generation when linker flags used with GCC
authorPádraig Brady <P@draigBrady.com>
Mon, 9 Dec 2019 20:25:40 +0000 (20:25 +0000)
committerPádraig Brady <pbrady@fb.com>
Tue, 10 Dec 2019 14:55:56 +0000 (14:55 +0000)
commit7b298b09952f8a48a4674c43d1c64ea3c70b91dc
treec71bcff39c98862d5bbbede2a63db8f525053fce
parent45f693135260b33c58626707a7377f863d5d7d17
Fix pch generation when linker flags used with GCC

-c is required to avoid linking (and the associated missing "main" message)
when linker flags like "-Wl,-z,relro" are passed to GCC
cmake/OpenCVPCHSupport.cmake