[PATCH openEuler-5.10] spfc: Fix compile errors when O=xxx is specified